Update d.ts and api-gen of Dialog
parent
652725016d
commit
cb6f17a4aa
|
@ -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 = [
|
||||||
|
|
|
@ -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…
Reference in New Issue