Try Install Learn Blog API Packages GitHub
Pages
mint-ui

Search
Basic information
Entities
Versions
Dependencies
mint-color 0.9.0 <= v < 1.0.0

Ui.Drawer.Base

The base component for a drawer, this contains the backdrop and the surface for the content with transitions.

Use this when you want to create a custom drawer.

Properties

children
:
Array(Html)
=
[]

The content to render.

Whether or not to trigger the close event when clicking on the backdrop.

minWidth
:
String
=
"0"

The minimum width of the drawer.

onClose
:
Function(Promise(Void))
=
Promise.never

The close event handler.

open
:
Bool
=
false

Whether or not the drawer is open.

transitionDuration
:
Number
=
240

The duration of the transition.

zIndex
:
Number
=
900

The zIndex of the drawer.

Functions

focusFirst
:
Promise(Void)

Focuses the first focusable element in the drawer.

render
:
Html