Skip to content

Dialog UI - 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
7Bottom PaddingNumber24bottomPaddingnumber24Setting the margin area at the bottom of the canvas screen.
Properties added in v3.4.0
8Transition ComponentSelect
1. Fade
2. Slide
FadetransitionComponentstringfadeDialog transition animation setting
The [transitionComponent] property cannot be set in actions.
9Slide DirectionSelect
1. Up
2. Down
3. Right
4. Left
UpslideDirectionstringupDialog slide direction
The [slideDirection] property cannot be set in actions.
10Transition DurationNumber500transitionDurationnumber500Dialog transition duration
The [transitionDuration] property cannot be set in actions.
11Disable Escape Key DownBooleanOFFdisableEscapeKeyDownbooleanfalseWhen OFF, the dialog can be closed with the Esc key.
12DividersBooleanONdividersbooleantrueWhen ON, divider lines can be displayed between the header and footer.
13DraggableBooleanOFFdraggablebooleanfalseWhen ON, the dialog can be dragged.
The [draggable] property cannot be set in actions.
14Show TitleBooleanONshowTitlesbooleantrueWhen ON, displays the header area.
15Close ButtonBooleanOFFcloseButtonbooleanfalseWhen ON, displays an × button in the header area.
16TitleStringTitletitlestringtitleSpecifies the string to display in the header area
17Title ColorString
Color Picker
titleColorstringTitle text color setting
18Title Background ColorString
Color Picker
titleBackgroundColorstringHeader area background color
19Content Background ColorString
Color Picker
contentBackgroundColorstringContent area background color
20Content Background RepeatSelect
1. REPEAT
2. NO-REPEAT
No RepeatbackgroundRepeatstringno-repeatBackground image repeat setting
21Content Background SizeSelect
1. Auto
2. Contain
3. Cover
AutobackgroundSizestringautoBackground image object-fit setting
22Show ActionsBooleanONshowActionsbooleantrueWhen ON, displays the footer area.
23Actions Value[Detail 1][Detail 1]actionsValueobject array[Detail 1]Footer area label and click action settings
24Action Background ColorString
Color Picker
actionBackgroundColorstringFooter area background color
25Timer EventSelect
1. None
2. Action
NonetimerEventstringnoneTimer event enable setting
v3.4.0 Added property
26IntervalNumber60intervalnumber60Timer event occurrence interval setting
The minimum value is 10.
The maximum value is 300.
v3.4.0 Added property

[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"}
]

Events

Event NameDescription
onclickTriggered when a button displayed in the footer is clicked.
loadTriggered when the canvas is loaded.
timerTriggered at the interval specified after the canvas has been loaded.