mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 08:52:34 +00:00
Update d.ts and api-gen of Dialog
This commit is contained in:
parent
652725016d
commit
cb6f17a4aa
2 changed files with 11 additions and 4 deletions
|
@ -125,6 +125,12 @@ const DialogProps = [
|
|||
default: "true",
|
||||
description: "Keeps dialog in the viewport when dragging."
|
||||
},
|
||||
{
|
||||
name: "appendTo",
|
||||
type: "string",
|
||||
default: "body",
|
||||
description: 'A valid query selector or an HTMLElement to specify where the dialog gets attached. Special keywords are "body" for document body and "self" for the element itself.'
|
||||
}
|
||||
];
|
||||
|
||||
const DialogEvents = [
|
||||
|
|
9
src/components/dialog/Dialog.d.ts
vendored
9
src/components/dialog/Dialog.d.ts
vendored
|
@ -18,10 +18,11 @@ interface DialogProps {
|
|||
position?: string;
|
||||
maximizable?: boolean;
|
||||
breakpoints?: {[key: string]: string};
|
||||
draggable: boolean;
|
||||
keepInViewPort: boolean;
|
||||
minX: number;
|
||||
minY: number;
|
||||
draggable?: boolean;
|
||||
keepInViewPort?: boolean;
|
||||
minX?: number;
|
||||
minY?: number;
|
||||
appendTo?: string;
|
||||
}
|
||||
|
||||
declare class Dialog {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue