com.github.fluorumlabs.disconnect.vaadin.elements.ProgressBarElement 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.ProgressMixin;
import com.github.fluorumlabs.disconnect.vaadin.elements.mixins.ThemableMixin;
import js.web.dom.HTMLElement;
/**
* <vaadin-progress-bar>
is a Web Component for progress bars.
*
* <vaadin-progress-bar min="0" max="1" value="0.5"
* >
* </vaadin-progress-bar>
*
* Styling
* The following shadow DOM parts are available for styling:
*
*
*
* Part name Description
*
*
* bar
Progress-bar's background
* value
Progress-bar's foreground
*
*
* See
* ThemableMixin – how to apply styles for shadow parts
*
* The following custom properties are available:
*
*
*
* Custom property Description Default
*
*
* --vaadin-progress-value
current progress value (between 0 and 1) 0
*
*
* The following state attributes are available for styling:
*
*
*
* Attribute Description Part name
*
*
* indeterminate
Set to an indeterminate progress bar :host
*
*
*/
@NpmPackage(
name = "@vaadin/vaadin",
version = Vaadin.VERSION
)
@Import(
module = "@vaadin/vaadin-progress-bar/theme/lumo/vaadin-progress-bar.js"
)
public interface ProgressBarElement extends HTMLElement, ProgressMixin, ThemableMixin {
static String TAGNAME() {
return "vaadin-progress-bar";
}
}