KoqPropertyValueFormatter Class

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

Methods

Name Description
constructor(_schemaContext: SchemaContext, defaultFormats?: FormatsMap): KoqPropertyValueFormatter    
format(value: number, options: FormatOptions): Promise<undefined | string>    
getFormatterSpec(options: FormatOptions): Promise<undefined | FormatterSpec>    
getParserSpec(options: FormatOptions): Promise<undefined | ParserSpec>    

Defined in

Last Updated: 17 December, 2024