FormattingSpecProvider Interface @beta
Minimal contract required by FormatSpecHandle to look up specs and subscribe to reloads.
Implemented by QuantityFormatter in @itwin/core-frontend.
Methods
| Name | Description | |
|---|---|---|
| formatQuantity(magnitude: number, formatSpec: FormatterSpec): string | Format a numeric value using the given formatter spec. | |
| getSpecsByNameAndUnit(args: FormattingSpecArgs): undefined | FormattingSpecEntry | Look up a formatting spec entry by KoQ name and persistence unit. |
Properties
| Name | Type | Description | |
|---|---|---|---|
| onFormattingReady Readonly | BeUnorderedUiEvent<void> | Event raised after the provider has finished reloading its caches. |
Defined in
- quantity/src/Formatter/Interfaces.ts Line 265
Last Updated: 18 April, 2026
Found something wrong, missing, or unclear on this page? Raise an issue in our repo.