Skip to content

Canvas

The canvas of the dialog UI is the area where components are placed.
Added in v3.3.0.

Properties

NoItemInput ValueDefault ValueAction PropertyTypeAction Default ValueDescription
1IDStringcanvasidstringcanvasThe [id] property cannot be set in actions.
2TypeStringModalDialog display type setting
3WidthNumber600widthnumber600Dialog width
4HeightNumber380heightnumber380Total dialog height
5XNumberxnumberX coordinate position
6YNumberynumberY coordinate position
7Transition ComponentSelect
1. Fade
2. Slide
FadetransitionComponentstringfadeDialog transition animation setting
The [transitionComponent] property cannot be set in actions.
8Slide DirectionSelect
1. Up
2. Down
3. Right
4. Left
DownslideDirectionstringdownDialog slide direction
The [slideDirection] property cannot be set in actions.
9Transition DurationNumber500transitionDurationnumber500Dialog transition duration
The [transitionDuration] property cannot be set in actions.
10Disable Escape Key DownBooleanOFFdisableEscapeKeyDownbooleanfalseWhen OFF, the dialog can be closed with the Esc key.
11DividersBooleanONdividersbooleantrueWhen ON, divider lines can be displayed between the header and footer.
12DraggableBooleanOFFdraggablebooleanfalseWhen ON, the dialog can be dragged.
The [draggable] property cannot be set in actions.
13Show TitleBooleanONshowTitlesbooleantrueWhen ON, displays the header area.
14Close ButtonBooleanOFFcloseButtonbooleanfalseWhen ON, displays an × button in the header area.
15TitleStringTitletitlestringtitleSpecifies the string to display in the header area
16Title ColorString
Color Picker
titleColorstringTitle text color setting
17Title Background ColorString
Color Picker
titleBackgroundColorstringHeader area background color
18Content Background ColorString
Color Picker
contentBackgroundColorstringContent area background color
19Content Background RepeatSelect
1. REPEAT
2. NO-REPEAT
No RepeatcontentBackgroundRepeatstringno-repeatBackground image repeat setting
20Content Background SizeSelect
1. Auto
2. Contain
3. Cover
AutocontentBackgroundSizestringautoBackground image object-fit setting
21Show ActionsBooleanONshowActionsbooleantrueWhen ON, displays the footer area.
22Actions Value[Detail 1][Detail 1]actionsValueobject array[Detail 1]Footer area label and click action settings
23Action Background ColorString
Color Picker
actionBackgroundColorstringFooter area background color

[Detail 1] Actions Setting

In the actions setting, you can configure the buttons displayed in the footer area. The configurable values are as follows:

NoColumnDescription
1IDID of the button to display in the footer
2LabelLabel of the button to display in the footer
3ColorColor of the button to display in the footer
4StyleStyle of the button to display in the footer
5Click EventAction of the button to display in the footer
The options are:
1. None - Do nothing
2. Action - Execute action
3. Close - Close the dialog

The default values are as follows:

[
{"id":"cancel","label":"CANCEL","color":"#1976d2","variant":"text","clickEvent":"Close"},
{"id":"execute","label":"EXECUTE","color":"#1976d2","variant":"text","clickEvent":"Action"}
]