atomic-format-unit
atomic-format-unit
In this article
|
Note
This component was introduced in version |
The atomic-format-unit
component is used for formatting numbers with units.
The numerical format of compatible parents will be set according to the properties of this component.
Properties
Property | Attribute | Description | Type | Default |
---|---|---|---|---|
|
|
The unit to use in unit formatting.
Leverages the Intl.NumberFormat |
|
|
|
|
The unit formatting style to use in unit formatting.
|
|
|
Was this article useful?
Thanks for your feedback!