UNPKG

@haxtheweb/haxcms-nodejs

Version:

HAXcms single and multisite nodejs server, api, and administration

70 lines (58 loc) 1.91 kB
/** * DO NOT EDIT * * This file was automatically generated by * https://github.com/Polymer/tools/tree/master/packages/gen-typescript-declarations * * To modify these typings, edit the source file(s): * src/vaadin-progress-bar.js */ // tslint:disable:variable-name Describing an API that's defined elsewhere. import {PolymerElement} from '@polymer/polymer/polymer-element.js'; import {ProgressMixin} from './vaadin-progress-mixin.js'; import {ThemableMixin} from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js'; import {ElementMixin} from '@vaadin/vaadin-element-mixin/vaadin-element-mixin.js'; import {html} from '@polymer/polymer/lib/utils/html-tag.js'; /** * `<vaadin-progress-bar>` is a Web Component for progress bars. * * ```html * <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](https://github.com/vaadin/vaadin-themable-mixin/wiki) * * 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 */ declare class ProgressBarElement extends ProgressMixin( ThemableMixin( ElementMixin( PolymerElement))) { } declare global { interface HTMLElementTagNameMap { "vaadin-progress-bar": ProgressBarElement; } } export {ProgressBarElement};