Display Modes

The Drawer provides expand modes and a compact mini view.

Expand Modes

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 onOverlayClick event 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.

Example
View Source
Edit In Stackblitz  
Change Theme:

Mini View

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.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?