@swc-uxp-wrappers/meter
v2.0.0
Published
UXP wrapper of the @spectrum-web-components/meter component
Downloads
5
Readme
Description
For detailed README regarding
@spectrum-web-components/meter
refer this linkDetailed specification regarding
@spectrum-web-components/meter
support in UXP through@swc-uxp-wrappers/meter
refer this link
Usage
yarn add @swc-uxp-wrappers/meter
Import the side effectful registration of <sp-meter>
via:
import '@swc-uxp-wrappers/meter/sp-meter.js';
When looking to leverage the Meter
base class as a type and/or for extension purposes, do so via:
import { Meter } from '@swc-uxp-wrappers/meter';
Example
<sp-meter></sp-meter>
Known Issues
- Duplicate content appears in this way of usage
<sp-meter>Task Status</sp-meter>
, known SWC library issue.- Workaround : use
<sp-meter label="Task Status"></sp-meter>
- Workaround : use