Свойство |
Type |
Description |
|
$closeButton |
|
the options for rendering the close button tag.
The close button is displayed in the header of the modal window. Clicking
on the button will hide the modal window. If this is false, no close button will be rendered.
The following special options are supported:
- tag: string, the tag name of the button. Defaults to 'button'.
- label: string, the label of the button. Defaults to '×'.
The rest of the options will be rendered as the HTML attributes of the button tag.
Please refer to the Modal plugin help
for the supported HTML attributes. |
|
$closeButtonPosition |
|
the position of the close button.
The following options are supported:
- beforeContent, right before the content, inside the container ".modal-content"
- afterContent, right after the content, inside the container ".modal-content"
- beforeFooter, right before the footer content, inside the container ".modal-footer"
- afterFooter, right before the footer content, inside the container ".modal-footer"
- precedeContainer, directly before the container ".modal-content" opens
- succeedContainer, directly after the container ".modal-content" closes
Defaults to "beforeContent". |
|
$footer |
|
the content of the footer. |
|
$footerOptions |
|
the optional HTML attributes for the footer container. |
|
$modalType |
|
the different modal types.
The following options are supported
- lean (default)
- fixedFooter
- bottomSheet |
|
$options |
|
the HTML attributes for the widget container tag. These special options are recognized:
- tag: string, defaults to "div", the name of the container tag. |
|
$toggleButton |
|
the options for rendering the toggle button tag.
The toggle button is used to toggle the visibility of the modal window.
If this property is false, no toggle button will be rendered.
The following special options are supported:
- tag: string, the tag name of the button. Defaults to 'button'.
- label: string, the label of the button. Defaults to 'Show'.
The rest of the options will be rendered as the HTML attributes of the button tag.
Please refer to the Modal plugin help
for the supported HTML attributes. |
|