mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-10 01:12:37 +00:00
parent
ff609bf403
commit
2efb8ad0d9
4 changed files with 60 additions and 32 deletions
17
components/lib/dialog/Dialog.d.ts
vendored
17
components/lib/dialog/Dialog.d.ts
vendored
|
@ -146,17 +146,14 @@ export interface DialogProps {
|
|||
style?: any;
|
||||
/**
|
||||
* Icon to display in the dialog close button.
|
||||
* @defaultValue pi pi-times
|
||||
*/
|
||||
closeIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the dialog maximize button when dialog is not maximized.
|
||||
* @defaultValue pi pi-window-maximize
|
||||
*/
|
||||
maximizeIcon?: string | undefined;
|
||||
/**
|
||||
* Icon to display in the dialog maximize button when dialog is maximized.
|
||||
* @defaultValue pi pi-window-minimize
|
||||
*/
|
||||
minimizeIcon?: string | undefined;
|
||||
}
|
||||
|
@ -177,6 +174,20 @@ export interface DialogSlots {
|
|||
* Custom footer template.
|
||||
*/
|
||||
footer(): VNode[];
|
||||
/**
|
||||
* Custom close icon template.
|
||||
*/
|
||||
closeicon(): VNode[];
|
||||
/**
|
||||
* Custom maximizeicon icon template of dialog.
|
||||
* @param {Object} scope - maximizeicon icon slot's params.
|
||||
*/
|
||||
maximizeicon(scope: {
|
||||
/**
|
||||
* Maximized state as a boolean
|
||||
*/
|
||||
maximized: boolean;
|
||||
}): VNode[];
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue