Interface CSSUnitValue

interface CSSUnitValue {
    unit: string;
    value: number;
    add(...values): CSSNumericValue;
    div(...values): CSSNumericValue;
    equals(...value): boolean;
    max(...values): CSSNumericValue;
    min(...values): CSSNumericValue;
    mul(...values): CSSNumericValue;
    sub(...values): CSSNumericValue;
    to(unit): CSSUnitValue;
    toString(): string;
    toSum(...units): CSSMathSum;
    type(): CSSNumericType;
}

Hierarchy (view full)

Properties

unit: string
value: number

Methods

  • Returns string