The <modal> tag implements a modal window.

The following attributes are applicable:

AttributeTypeMandatoryDescription
classStringNSpecify the CSS class name defined in the CSS field.
doCloseFunctionY

Specify actions to be performed after one of the predefined patterns is selected:

  • click
  • context
  • mouseOver.
isMandatoryBooleanNMake the field mandatory. For this, set the attribute equal to 'true'.
isShowBooleanNSet the attribute to 'true' to display the modal window.
isVisibleBooleanNDisable the widget displaying. This attribute is equal to 'true' by default.
labelStringNDescribe the field content by giving a field label with text information.

readOnly

BooleanN

Make the field read-only. For this, set the attribute equal to 'true'.

styleStringN

Specify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax.

titleStringYSpecify the modal window title.

value

StringN

Specify the default value for the field.


modal
<modal
  title="{data.modalTitle}"
  isMandatory="true"
  isShow="{data.isShow}"
  doClose="window.s_widget_custom.countClosing();">
</modal>
  • No labels