The <modal> tag implements a modal window.
The following attributes are applicable:
Attribute | Type | Mandatory | Description |
---|---|---|---|
class | String | N | Specify the CSS class name defined in the CSS field. |
doClose | Function | Y | Specify actions to be performed after one of the predefined patterns is selected:
|
isMandatory | Boolean | N | Make the field mandatory. For this, set the attribute equal to 'true'. |
isShow | Boolean | N | Set the attribute to 'true' to display the modal window. |
isVisible | Boolean | N | Disable the widget displaying. This attribute is equal to 'true' by default. |
label | String | N | Describe the field content by giving a field label with text information. |
readOnly | Boolean | N | Make the field read-only. For this, set the attribute equal to 'true'. |
style | String | N | Specify the display settings (size, font, color, etc.) of the widget elements using the CSS syntax. |
title | String | Y | Specify the modal window title. |
value | String | N | Specify the default value for the field. |
modal
<modal title="{data.modalTitle}" isMandatory="true" isShow="{data.isShow}" doClose="window.s_widget_custom.countClosing();"> </modal>