drawerToggle
drawerToggle controls the visibility of an application menu drawer.
XML Element |
|
|---|---|
Java Class |
|
Basics
The drawerToggle component creates a toggle button that controls the opening and closing of the drawerLayout containing main menu items.
To ensure users can access the main menu across the application, drawerToggle is usually placed within the navigationBar component of the main application view.
Theme Variants
Use the themeNames attribute to apply one or more theme variants.
| Variant | Description | Supported By |
|---|---|---|
|
Makes the drawer toggle more prominent. |
Aura |
|
Makes the drawer toggle less prominent. |
Aura |
Attributes
The following shared attributes are supported by drawerToggle:
id - alignSelf - ariaLabel - ariaLabelledBy - autofocus - classNames - clickShortcut - colspan - css - focusShortcut - height - maxHeight - maxWidth - minHeight - minWidth - tabIndex - themeNames - visible - width
Handlers
The following handlers are specific to drawerToggle:
| Name | Description |
|---|---|
The |
The following shared handlers are supported by drawerToggle: