OffcanvasSettings

Settings for the HxOffcanvas component.

API

Other properties

Name Type Description
BackdropEnabled bool? Indicates whether to apply a backdrop on body while offcanvas is open.
BodyCssClass string Additional body CSS class.
CloseButtonIcon IconBase Close icon to be used in header. If set to null, Bootstrap default close-button will be used.
CloseOnEscape bool? Indicates whether the offcanvas closes when escape key is pressed.
CssClass string Offcanvas additional CSS class. Added to root div (.offcanvas).
FooterCssClass string Additional footer CSS class.
HeaderCssClass string Additional header CSS class.
Placement OffcanvasPlacement? Placement of the offcanvas.
ScrollingEnabled bool? Indicates whether body (page) scrolling is allowed while offcanvas is open.
ShowCloseButton bool? Indicates whether the modal shows close button in header. Use CloseButtonIcon to change shape of the button.
Size OffcanvasSize?

Methods

Method Returns Description
<Clone>$() OffcanvasSettings

Static Methods

Method Type Description
op_Equality (OffcanvasSettings left, OffcanvasSettings right) bool
op_Inequality (OffcanvasSettings left, OffcanvasSettings right) bool
An unhandled error has occurred. Reload 🗙