Interface StylePropertyMapReadOnly
interface StylePropertyMapReadOnly {
size: number;
"[iterator]"(): StylePropertyMapReadOnlyIterator<
[string, Iterable<CSSStyleValue>],
>;
entries(): StylePropertyMapReadOnlyIterator<
[string, Iterable<CSSStyleValue>],
>;
forEach(
callbackfn: (
value: CSSStyleValue[],
key: string,
parent: StylePropertyMapReadOnly,
) => void,
thisArg?: any,
): void;
get(property: string): CSSStyleValue;
getAll(property: string): CSSStyleValue[];
has(property: string): boolean;
keys(): StylePropertyMapReadOnlyIterator<string>;
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
}
size: number;
"[iterator]"(): StylePropertyMapReadOnlyIterator<
[string, Iterable<CSSStyleValue>],
>;
entries(): StylePropertyMapReadOnlyIterator<
[string, Iterable<CSSStyleValue>],
>;
forEach(
callbackfn: (
value: CSSStyleValue[],
key: string,
parent: StylePropertyMapReadOnly,
) => void,
thisArg?: any,
): void;
get(property: string): CSSStyleValue;
getAll(property: string): CSSStyleValue[];
has(property: string): boolean;
keys(): StylePropertyMapReadOnlyIterator<string>;
values(): StylePropertyMapReadOnlyIterator<Iterable<CSSStyleValue>>;
}
Methods
[iterator]
- "[iterator]"(): StylePropertyMapReadOnlyIterator<
[string, Iterable<CSSStyleValue>],
> Returns StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>
entries
- entries(): StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>
Returns StylePropertyMapReadOnlyIterator<[string, Iterable<CSSStyleValue>]>
forEach
- forEach(
callbackfn: (
value: CSSStyleValue[],
key: string,
parent: StylePropertyMapReadOnly,
) => void,
thisArg?: any,
): void Parameters
- callbackfn: (value: CSSStyleValue[], key: string, parent: StylePropertyMapReadOnly) => void
Optional
thisArg: any
Returns void
get
- get(property: string): CSSStyleValue
Parameters
- property: string
Returns CSSStyleValue
getAll
- getAll(property: string): CSSStyleValue[]
Parameters
- property: string
Returns CSSStyleValue[]
has
keys
- keys(): StylePropertyMapReadOnlyIterator<string>
Returns StylePropertyMapReadOnlyIterator<string>
MDN Reference