reinitializeFormatAndParsingsMaps Method
Reinitialize caches. Typically called by active UnitFormattingSettingsProvider. startDefaultTool - set to true to start the Default to instead of leaving any active tool pointing to cached unit data that is no longer valid
reinitializeFormatAndParsingsMaps(overrideFormatPropsByUnitSystem: Map<UnitSystemKey, Map<string, FormatProps>>, unitSystemKey?: UnitSystemKey, fireUnitSystemChanged?: boolean, startDefaultTool?: boolean): Promise<void>
Parameter | Type | Description |
---|---|---|
overrideFormatPropsByUnitSystem | Map<UnitSystemKey, Map<string, FormatProps>> | |
unitSystemKey | UnitSystemKey | |
fireUnitSystemChanged | boolean | |
startDefaultTool | boolean |
Returns - Promise
Defined in
Last Updated: 21 November, 2024
Found something wrong, missing, or unclear on this page?Raise an issue in our repo.