Offcanvas Reference ↓
Position variants
Close controls only
Reference
Base
| Attribute / option | Description |
|---|---|
ui-offcanvas | marks the drawer container |
data-ui-offcanvas-open="id" | opens the drawer with that id |
data-ui-offcanvas-close | closes the open drawer |
Modifiers
| Attribute / option | Description |
|---|
Options
| Attribute / option | Description |
|---|---|
ui-offcanvas="position:left" | left, right, top, bottom |
ui-offcanvas="escClose:false" | disable ESC key closing |
ui-offcanvas="bgClose:false" | disable backdrop-click closing |