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