Search e01
One query across the encyclopedia, books, dictionary, papers, Wikidata and the developer library. Every hit carries its source.
6 results across 6 corpora for StylePropertyMapReadOnly.
Developer library 6
CSSMathSum
mmediately to a single CSSUnitValue instead. toSum(), by contrast, always returns a `CSSMathSum`, even when its terms could be combined into a single value. [`StylePropertyMapReadOnly.get()`](/docs/Web/API/StylePropertyMapReadOnly/get) returns a `CSSMathSum` the same way — for a calc() value that resolves to an addition or subtraction it can't combine into one value. `CSSMathSum` represents the sum expression itsel
Element
st ancestor of the current element (or the current element itself) which matches the selectors given in parameter. - Element.computedStyleMap() - : Returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. - Element.getAnimations() - : Returns an array of Animation objects currently active on the element. - Elem
Element: computedStyleMap() method
CSS Typed Object Model API The **`computedStyleMap()`** method of the Element interface returns a StylePropertyMapReadOnly interface which provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. ## Syntax ```js-nolint computedStyleMap() ``` ### Parameters None. ### Return value A StylePropertyMapReadOnly object. Unlike Window.getComputedStyle, the return v
CSSMathProduct
l but one, are plain numbers. div() works the same way, except that every divisor must be a plain number. Otherwise, both methods return a `CSSMathProduct`. [`StylePropertyMapReadOnly.get()`](/docs/Web/API/StylePropertyMapReadOnly/get) returns a `CSSMathProduct` the same way — for a calc() value that resolves to a multiplication or division it can't combine into one value. `CSSMathProduct` represents the product ex
StylePropertyMapReadOnly
CSS Typed Object Model API The **`StylePropertyMapReadOnly`** interface of the [CSS Typed Object Model API](/docs/Web/API/CSS_Typed_OM_API) provides a read-only representation of a CSS declaration block that is an alternative to CSSStyleDeclaration. Retrieve an instance of this interface using Element.computedStyleMap(). ## Instance properties - StylePropertyMapReadOnly.size - : Returns an unsigned integer con
StylePropertyMapReadOnly: values() method
CSS Typed Object Model API The **`StylePropertyMapReadOnly.values()`** method returns a new _array iterator_ containing the values for each index in the `StylePropertyMapReadOnly` object. ## Syntax ```js-nolint values() ``` ### Parameters None. ### Return value A new Array. ## Examples ### Basic usage In this example, we use the `values()` method to access the values within the [`Element.computedStyleMap()