ModalSettings
Settings for the HxModal
component
API
Other properties
Name |
Type |
Description |
BodyCssClass |
string |
Additional body CSS class (div.modal-body ). |
Centered |
bool? |
Allows vertical centering of the modal. |
CloseButtonIcon |
IconBase |
Close icon to be used in header. |
CloseOnEscape |
bool? |
Indicates whether the modal closes when escape key is pressed. |
ContentCssClass |
string |
Additional content CSS class (div.modal-content ). |
CssClass |
string |
Additional CSS class for the main element (div.modal ). |
DialogCssClass |
string |
Additional CSS class for the dialog (div.modal-dialog element). |
FooterCssClass |
string |
Additional footer CSS class (div.modal-footer ). |
Fullscreen |
ModalFullscreen? |
Fullscreen behavior of the modal. |
HeaderCssClass |
string |
Additional header CSS class (div.modal-header ). |
Scrollable |
bool? |
Allows scrolling the modal body. |
ShowCloseButton |
bool? |
Indicates whether the modal shows close button in header. |
Size |
ModalSize? |
Size of the modal. |
UseStaticBackdrop |
bool? |
Indicates whether the modal uses a static backdrop. |
Methods
Static Methods