SchemaFormatsProvider Class @beta

Provides default formats and kind of quantities from a given SchemaContext or SchemaLocater.

Implements

Methods

Name Description
constructor(contextOrLocater: ISchemaLocater, unitSystem: UnitSystemKey): SchemaFormatsProvider    
getFormat(name: string): Promise<undefined | SchemaItemFormatProps> Retrieves a Format from a SchemaContext.  

Properties

Name Type Description
context Accessor ReadOnly SchemaContext    
onFormatsChanged BeEvent<(args: FormatsChangedArgs) => void>    
unitSystem Accessor UnitSystemKey    
unitSystem Setter unitSystem(unitSystem: UnitSystemKey): void    

Defined in

Last Updated: 07 June, 2025