Function useCSSProperties

  • Returns {
        getPropertyValue: (propertyName: string, element: Element) => string;
        registerProperty: (definition: CSSPropertyDefinition) => void;
        setProperty: (
            element: Element,
            propertyName: string,
            value: string,
        ) => void;
        setPropertyValue: (
            propertyName: string,
            value: string,
            element: Element,
        ) => void;
        get state(): CSSPropertiesState;
        subscribe(callback: (state: CSSPropertiesState) => void): () => boolean;
    }