@Tag(value="vaadin-drawer-toggle")
@HtmlImport(value="frontend://bower_components/vaadin-app-layout/src/vaadin-drawer-toggle.html")
@NpmPackage(value="@vaadin/vaadin-app-layout",
version="2.0.2")
@JsModule(value="@vaadin/vaadin-app-layout/src/vaadin-drawer-toggle.js")
public class DrawerToggle
extends com.vaadin.flow.component.button.Button
<vaadin-drawer-toggle> element.
It is a button that allows the user to open and close the drawer.
To use it, add it to the AppLayout, typically in the navbar slot.
AppLayout layout = new AppLayout();
layout.addToNavbar(new DrawerToggle());
| Constructor and Description |
|---|
DrawerToggle() |
click, clickInClient, getIcon, isAutofocus, isDisableOnClick, isIconAfterText, setAutofocus, setDisableOnClick, setIcon, setIconAfterText, setTextaddThemeVariants, addToPrefix, addToSuffix, isAutofocusBoolean, isDisabledBoolean, remove, removeAll, removeThemeVariants, setDisabledaddListener, fireEvent, from, get, getChildren, getElement, getEventBus, getId, getLocale, getParent, getTranslation, getTranslation, getUI, hasListener, isTemplateMapped, isVisible, onAttach, onDetach, onEnabledStateChanged, set, setElement, setId, setVisibleclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetHeight, getMaxHeight, getMaxWidth, getMinHeight, getMinWidth, getWidth, setHeight, setHeightFull, setMaxHeight, setMaxWidth, setMinHeight, setMinWidth, setSizeFull, setSizeUndefined, setWidth, setWidthFulladdClassName, addClassNames, getClassName, getClassNames, getStyle, hasClassName, removeClassName, removeClassNames, setClassName, setClassNameaddClickListener, addClickShortcutaddFocusShortcut, blur, focus, getTabIndex, setTabIndexCopyright © 2018–2019 Vaadin Ltd. All rights reserved.