CloneOptions Interface


CloneOptions that define modifications that can be made during the cloning of a Format.


Name Type Description
precision DecimalPrecision | FractionalPrecision allows precision to be set, this will throw if value is not valid for FormatType  
primaryUnit undefined | CloneUnit allows primary unit and label to be specified  
showOnlyPrimaryUnit undefined | false | true allows composite formats to be converted to only show primary unit  
traits undefined | 0 allow format traits to be set  
type undefined | FormatType.Decimal allows new FormatType to be specified  

Defined in

Last Updated: 17 June, 2021