progress-barpackage.web-types.lit.json Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
The newest version!
{
"$schema": "https://json.schemastore.org/web-types",
"name": "@vaadin/progress-bar",
"version": "24.5.3",
"description-markup": "markdown",
"framework": "lit",
"framework-config": {
"enable-when": {
"node-packages": [
"lit"
]
}
},
"contributions": {
"html": {
"elements": [
{
"name": "vaadin-progress-bar",
"description": "`` is a Web Component for progress bars.\n\n```html\n\n \n```\n\n### Styling\n\nThe following shadow DOM parts are available for styling:\n\nPart name | Description\n----------------|----------------\n`bar` | Progress-bar's background\n`value` | Progress-bar's foreground\n\nSee [Styling Components](https://vaadin.com/docs/latest/styling/styling-components) documentation.\n\nThe following custom properties are available:\n\nCustom property | Description | Default\n----------------|-------------|-------------\n`--vaadin-progress-value` | current progress value (between 0 and 1) | 0\n\nThe following state attributes are available for styling:\n\nAttribute | Description | Part name\n----------------|-------------|------------\n`indeterminate` | Set to an indeterminate progress bar | :host",
"extension": true,
"attributes": [
{
"name": "?indeterminate",
"description": "Indeterminate state of the progress bar.\nThis property takes precedence over other state properties (min, max, value).",
"value": {
"kind": "expression"
}
},
{
"name": ".value",
"description": "Current progress value.",
"value": {
"kind": "expression"
}
},
{
"name": ".min",
"description": "Minimum bound of the progress bar.",
"value": {
"kind": "expression"
}
},
{
"name": ".max",
"description": "Maximum bound of the progress bar.",
"value": {
"kind": "expression"
}
}
]
}
]
}
}
}