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", 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 = [

View File

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