Meter
Displays a scalar measurement within a known range.
Usage
API Reference
VoltMeterIndicator — volt-meter-indicator
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltMeterLabel — volt-meter-label
| Input | Type | Default |
|---|---|---|
| class | string | '' |
| id | unknown | — |
VoltMeterTrack — volt-meter-track
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltMeterValue — volt-meter-value
| Input | Type | Default |
|---|---|---|
| class | string | '' |
VoltMeter — volt-meter
| Input | Type | Default |
|---|---|---|
| class | string | '' |
| value | number | 0 |
| min | number | 0 |
| max | number | 100 |
| valueLabel | (value: number, max: number) => string | — |
Component Source
Install via CLI:
npx @voltui/cli add meterTypeScript
Loading editor…
Copy this code to your project. The component uses ng-primitives/meter.