Function useCSSTypedOM

  • Returns {
        getComputedValue: (
            element: Element,
            property: string,
        ) => null | CSSStyleValue;
        parseValue: (cssText: string) => null | CSSStyleValue;
        px: (value: number) => CSSUnitValue;
        setNumericValue: (
            element: Element,
            property: string,
            value: number,
            unit: CSSNumericType,
        ) => void;
        get state(): CSSTypedOMState;
        subscribe(callback: (state: CSSTypedOMState) => void): () => boolean;
    }