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: 14 November, 2024