INumberFormatScopedSlotBindings
interface
NumberFormat
Bindings exposed by the scoped `#default` slot. Consumers use these to highlight specific parts of the formatted output (currency symbol, decimal separator, …) without re-running `Intl.NumberFormat` themselves.
TypeScript
Definition
The TypeScript interface definition as found in the origam source. Click the copy icon to copy the snippet.
API
Properties
Every property declared by this interface, with its type, optionality and default.
- formattedrequiredstring
- The locale-formatted string, ready to render.
- partsrequiredIntl.NumberFormatPart[]
- The structured parts (`Intl.NumberFormatPart[]`).
- valuerequirednumber
- The numeric value after string-to-number coercion.