KoqPropertyValueFormatter Class

An utility for formatting property values based on KindOfQuantity and unit system.

Methods

Name Description
constructor(props: KoqPropertyValueFormatterProps): KoqPropertyValueFormatter    
constructor(schemaContext: SchemaContext, defaultFormats?: FormatsMap, formatsProvider?: FormatsProvider): KoqPropertyValueFormatter   Deprecated  
createCachedFormatter(): { format: } Creates a formatter that reuses formatter specs for repeated formatting options.  
format(value: number, options: FormatOptions): Promise<string | undefined>    
getFormatterSpec(options: FormatOptions): Promise<FormatterSpec | undefined>    
getParserSpec(options: FormatOptions): Promise<ParserSpec | undefined>    

Defined in

Last Updated: 09 November, 2026