Update d.ts and api-gen of Dialog

pull/1533/head
mertsincan 2021-08-31 10:47:15 +03:00
parent 652725016d
commit cb6f17a4aa
2 changed files with 11 additions and 4 deletions

View File

@ -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 = [

View File

@ -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 {