For displaying its content, the Drawer provides the following expand modes:
"overlay"—The Drawer expands on top of the container content and displays a grayed overlay over it. Use
onOverlayClickevent handler to handle when the overlay is clicked.
"push"—The Drawer expands side by side to the container content by shrinking its width.
To configure the expand mode, use the
mode property of the Drawer.
A compact view can be displayed when the Drawer is collapsed. To toggle between expanded and compact views, use its
mini property of the Drawer.
The Drawer will always be visible displaying only the item icon even when it is collapsed.