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.
  • "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

To enable the compact view which is displayed when the Drawer is collapsed, use its mini option. By default, when the Drawer is minimized, it will display only the item icon. To override this behavior, specify an item template.

When the mini option is enabled, the Drawer will always be visible even when it is collapsed.

Example
View Source
Edit In Stackblitz  
Change Theme:

In this article

Not finding the help you need?