ModalSettings #

Settings for the HxModal component


Other properties #

Name Type Description
Animated bool? For modals that simply appear rather than fade in to view, setting false removes the .fade class from your modal markup. Default value is true.
Backdrop ModalBackdrop? Indicates whether to apply a backdrop on body while the modal is open. If set to ModalBackdrop.Static, the modal cannot be closed by clicking on the backdrop. Default value (from HxModal.Defaults) is ModalBackdrop.True.
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.
An unhandled error has occurred. Reload 🗙