Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 813 Bytes

File metadata and controls

27 lines (22 loc) · 813 Bytes

Home > @csstools/css-calc > conversionOptions

conversionOptions type

Signature:

export type conversionOptions = {
    onParseError?: (error: ParseError) => void;
    globals?: GlobalsWithStrings;
    precision?: number;
    devicePixelLength?: number;
    toCanonicalUnits?: boolean;
    censorIntoStandardRepresentableValues?: boolean;
    rawPercentages?: boolean;
    randomCaching?: {
        propertyName: string;
        propertyN: number;
        elementID: string;
        documentID: string;
    };
};

References: ParseError, GlobalsWithStrings