v4web-components
Version:
Stencil Component Starter
44 lines (43 loc) • 1.06 kB
JavaScript
import { h } from '@stencil/core';
export class LabDsProgressBar {
constructor() {
this.progress = undefined;
}
render() {
return (h("div", { class: `v4-progress-bar` }, h("div", { style: { width: `${this.progress}%` }, class: "progress-bar-completed" })));
}
static get is() { return "lab-ds-progress-bar"; }
static get encapsulation() { return "shadow"; }
static get originalStyleUrls() {
return {
"$": ["lab-ds-progress-bar.css"]
};
}
static get styleUrls() {
return {
"$": ["lab-ds-progress-bar.css"]
};
}
static get properties() {
return {
"progress": {
"type": "number",
"mutable": false,
"complexType": {
"original": "number",
"resolved": "number",
"references": {}
},
"required": false,
"optional": false,
"docs": {
"tags": [],
"text": ""
},
"attribute": "progress",
"reflect": false
}
};
}
}
//# sourceMappingURL=lab-ds-progress-bar.js.map