WebIDLpedia

CSSUnitValue interface

Definition

CSS Typed OM Level 1 defines CSSUnitValue



[Exposed=(Window, Worker, PaintWorklet, LayoutWorklet)]
interface CSSUnitValue : CSSNumericValue {
    constructor(double value, USVString unit);
    attribute double value;
    readonly attribute USVString unit;
};

Methods and attributes that return objects implementing CSSUnitValue

Referring IDL interfaces/dictionaries