All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.fluorumlabs.disconnect.vaadin.DrawerToggle Maven / Gradle / Ivy

The newest version!
package com.github.fluorumlabs.disconnect.vaadin;

import com.github.fluorumlabs.disconnect.core.annotations.WebComponent;
import com.github.fluorumlabs.disconnect.vaadin.elements.DrawerToggleElement;
import com.github.fluorumlabs.disconnect.zero.component.AbstractComponent;
import com.github.fluorumlabs.disconnect.zero.component.Component;
import com.github.fluorumlabs.disconnect.zero.component.HasComponents;
import com.github.fluorumlabs.disconnect.zero.component.HasStyle;

import javax.annotation.Nullable;

/**
 * The Drawer Toggle component controls the drawer in App Layout component.
 *
 * 
<vaadin-app-layout>
 *   <vaadin-drawer-toggle slot="navbar">Toggle drawer</vaadin-drawer-toggle>
 * </vaadin-app-layout>
 * 
*/ @WebComponent public class DrawerToggle extends AbstractComponent implements HasStyle, HasComponents> { public DrawerToggle() { super(DrawerToggleElement.TAGNAME()); } @Nullable public String ariaLabel() { return getNode().getAriaLabel(); } public DrawerToggle ariaLabel(String ariaLabel) { getNode().setAriaLabel(ariaLabel); return this; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy