Fixed #85 - Draggable Dialog

This commit is contained in:
Cagatay Civici 2021-05-14 13:21:59 +03:00
parent 2acf800b43
commit fa39c21c34
4 changed files with 162 additions and 3 deletions

View file

@ -100,7 +100,31 @@ const DialogProps = [
type: "object",
default: "null",
description: "Object literal to define widths per screen size."
}
},
{
name: "draggable",
type: "boolean",
default: "true",
description: "Whether the dialog can be displayed full screen."
},
{
name: "minX",
type: "number",
default: "0",
description: "Minimum value for the left coordinate of dialog in dragging."
},
{
name: "minY",
type: "number",
default: "0",
description: "Minimum value for the top coordinate of dialog in dragging."
},
{
name: "keepInViewport",
type: "boolean",
default: "true",
description: "Keeps dialog in the viewport when dragging."
},
];
const DialogEvents = [