com.github.fluorumlabs.disconnect.vaadin.elements.TabElement Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of disconnect-vaadin Show documentation
Show all versions of disconnect-vaadin Show documentation
Vaadin components bindings for Disconnect Zero
The newest version!
package com.github.fluorumlabs.disconnect.vaadin.elements;
import com.github.fluorumlabs.disconnect.core.annotations.Import;
import com.github.fluorumlabs.disconnect.core.annotations.NpmPackage;
import com.github.fluorumlabs.disconnect.vaadin.Vaadin;
import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.ElementMixin;
import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.ItemMixin;
import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.ThemableMixin;
import js.web.dom.HTMLElement;
/**
* <vaadin-tab>
is a Web Component providing an accessible and customizable tab.
*
* <vaadin-tab>
* Tab 1
* </vaadin-tab>
*
* The following state attributes are available for styling:
*
*
*
* Attribute Description Part name
*
*
* disabled
Set to a disabled tab :host
* focused
Set when the element is focused :host
* focus-ring
Set when the element is keyboard focused :host
* selected
Set when the tab is selected :host
* active
Set when mousedown or enter/spacebar pressed :host
* orientation
Set to horizontal
or vertical
depending on the
* direction of items :host
*
*
* See
* ThemableMixin – how to apply styles for shadow parts
*/
@NpmPackage(
name = "@vaadin/vaadin",
version = Vaadin.VERSION
)
@Import(
module = "@vaadin/vaadin-tabs/theme/lumo/vaadin-tab.js"
)
public interface TabElement extends HTMLElement, ElementMixin, ThemableMixin, ItemMixin {
static String TAGNAME() {
return "vaadin-tab";
}
}