Movatterモバイル変換


[0]ホーム

URL:


  1. Web
  2. Web APIs
  3. StylePropertyMap

StylePropertyMap

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

TheStylePropertyMap interface of theCSS Typed Object Model API provides a representation of a CSS declaration block that is an alternative toCSSStyleDeclaration.

StylePropertyMapReadOnly StylePropertyMap

Instance properties

Inherits properties from its parent,StylePropertyMapReadOnly.

Instance methods

Inherits methods from its parent,StylePropertyMapReadOnly.

StylePropertyMap.append()

Adds a new CSS declaration to theStylePropertyMap with the given property and value.

StylePropertyMap.clear()

Removes all declarations in theStylePropertyMap.

StylePropertyMap.delete()

Removes the CSS declaration with the given property.

StylePropertyMap.set()

Changes the CSS declaration with the given property.

Specifications

Specification
CSS Typed OM Level 1
# the-stylepropertymap

Browser compatibility

Help improve MDN

Learn how to contribute

This page was last modified on byMDN contributors.


[8]ページ先頭

©2009-2025 Movatter.jp