AppLayoutMixin

external interface AppLayoutMixin : I18nMixin

Inheritors

Properties

Link copied to clipboard
abstract var closeDrawerOn: String

A global event that causes the drawer to close (be hidden) when it is in overlay mode.

Link copied to clipboard
abstract var drawerOpened: Boolean

Controls whether the drawer is opened (visible) or not. Its default value depends on the viewport:

Link copied to clipboard
abstract var i18n: JsAny

The object used to localize this component. To change the default localization, replace this with an object that provides all properties, or just the individual properties you want to change.

Link copied to clipboard
abstract val overlay: Boolean

Drawer is an overlay on top of the content Controlled via CSS using --vaadin-app-layout-drawer-overlay: true|false;

Link copied to clipboard
abstract var primarySection: String

Defines whether navbar or drawer will come first visually.

Functions

Link copied to clipboard

Helper static method that dispatches a close-overlay-drawer event