Fixed #4470 - Dialog/Toast: new container template

This commit is contained in:
Tuğçe Küçükoğlu 2023-09-19 12:36:33 +03:00
parent 98afeacb55
commit 962ddb1353
6 changed files with 86 additions and 45 deletions

View file

@ -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[];
}
/**