mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +00:00
Fixed #4470 - Dialog/Toast: new container template
This commit is contained in:
parent
98afeacb55
commit
962ddb1353
6 changed files with 86 additions and 45 deletions
14
components/lib/toast/Toast.d.ts
vendored
14
components/lib/toast/Toast.d.ts
vendored
|
@ -289,6 +289,20 @@ export interface ToastSlots {
|
|||
*/
|
||||
class: any;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom container slot.
|
||||
* @param {Object} scope - container slot's params.
|
||||
*/
|
||||
container(scope: {
|
||||
/**
|
||||
* Message of the component
|
||||
*/
|
||||
message: any;
|
||||
/**
|
||||
* Close toast function
|
||||
*/
|
||||
onClose: () => void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue