mirror of
https://github.com/primefaces/primevue.git
synced 2025-05-09 00:42:36 +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",
|
default: "true",
|
||||||
description: "Keeps dialog in the viewport when dragging."
|
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 = [
|
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;
|
position?: string;
|
||||||
maximizable?: boolean;
|
maximizable?: boolean;
|
||||||
breakpoints?: {[key: string]: string};
|
breakpoints?: {[key: string]: string};
|
||||||
draggable: boolean;
|
draggable?: boolean;
|
||||||
keepInViewPort: boolean;
|
keepInViewPort?: boolean;
|
||||||
minX: number;
|
minX?: number;
|
||||||
minY: number;
|
minY?: number;
|
||||||
|
appendTo?: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
declare class Dialog {
|
declare class Dialog {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue