You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

The <modal> tag implements a modal window.

Available attributes:

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.
isMandatoryBooleanNTo make a field mandatory, set the attribute equal to 'true'.
isShowBooleanNSet the attribute to 'true' to display the modal window.
isVisibleBooleanNThis attribute is equal to 'true' by default. To disable the widget displaying, set the 'false' value.
labelStringNDescribe the field content by giving a field label with text information.

readOnly

BooleanN

To make a field read-only, 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