mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 09:22:34 +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
15
components/lib/dialog/Dialog.d.ts
vendored
15
components/lib/dialog/Dialog.d.ts
vendored
|
@ -332,6 +332,21 @@ export interface DialogSlots {
|
|||
*/
|
||||
class: any;
|
||||
}): VNode[];
|
||||
/**
|
||||
* Custom container slot.
|
||||
* @param {Object} scope - container slot's params.
|
||||
*/
|
||||
container(scope: {
|
||||
/**
|
||||
* Close dialog function.
|
||||
*/
|
||||
onClose: () => void;
|
||||
/**
|
||||
* Maximize/minimize dialog function.
|
||||
* @param {Event} event - Browser event
|
||||
*/
|
||||
onMaximize: (event: Event) => void;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue