interface StylePropertyMap {
    size: number;
    "[iterator]"(): StylePropertyMapReadOnlyIterator<
        [string, Iterable<CSSStyleValue, any, any>],
    >;
    append(property: string, ...values: (string | CSSStyleValue)[]): void;
    clear(): void;
    delete(property: string): void;
    entries(): StylePropertyMapReadOnlyIterator<
        [string, Iterable<CSSStyleValue, any, any>],
    >;
    forEach(
        callbackfn: (
            value: CSSStyleValue[],
            key: string,
            parent: StylePropertyMapReadOnly,
        ) => void,
        thisArg?: any,
    ): void;
    get(property: string): undefined | CSSStyleValue;
    getAll(property: string): CSSStyleValue[];
    has(property: string): boolean;
    keys(): StylePropertyMapReadOnlyIterator<string>;
    set(property: string, ...values: (string | CSSStyleValue)[]): void;
    values(): StylePropertyMapReadOnlyIterator<
        Iterable<CSSStyleValue, any, any>,
    >;
}

Hierarchy

  • StylePropertyMapReadOnly
    • StylePropertyMap

Properties

size: number

Methods

  • Parameters

    Returns void

  • Returns void

  • Parameters

    • property: string

    Returns void

  • Parameters

    • callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void
    • OptionalthisArg: any

    Returns void

  • Parameters

    • property: string

    Returns undefined | CSSStyleValue

  • Parameters

    • property: string

    Returns CSSStyleValue[]

  • Parameters

    • property: string

    Returns boolean

  • Parameters

    Returns void