The <modal> tag implements a modal window.
Available attributes:
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 | To make a field mandatory, set the attribute equal to 'true'. |
isShow | Boolean | N | Set the attribute to 'true' to display the modal window. |
isVisible | Boolean | N | This attribute is equal to 'true' by default. To disable the widget displaying, set the 'false' value. |
label | String | N | Describe the field content by giving a field label with text information. |
readOnly | Boolean | N | To make a field read-only, 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>