Offcanvas

constructor(caption: String? = null, placement: OffPlacement = OffPlacement.START, closeButton: Boolean = true, dark: Boolean = false, responsiveType: OffResponsiveType? = null, scrollableBody: Boolean = false, backdrop: Boolean = true, escape: Boolean = true, className: String? = null, init: Offcanvas.() -> Unit? = null)

Parameters

caption

the offcanvas caption

placement

the offcanvas placement

closeButton

determines if Close button is visible

dark

dark mode

responsiveType

the offcanvas responsive type

scrollableBody

determines if the page body is scrollable

backdrop

determines if the backdrop is visible

escape

determines if the offcanvas can be closed with the Esc key

className

CSS class names

init

an initializer extension function