Draft
This page is not complete.
This is an experimental technology
Check the Browser compatibility table carefully before using this in production.
The styleMap
read-only property of the CSSStyleRule
interface returns a StylePropertyMap
object which provides access to the rule's property-value pairs.
Syntax
var stylePropertyMap = cssStyleRule.styleMap;
Value
A StylePropertyMap
object.
Specifications
Specification | Status | Comment |
---|---|---|
CSS Typed OM Level 1 The definition of 'styleMap' in that specification. |
Working Draft | Initial definition. |
Browser compatibility
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
styleMap | Chrome Full support 65 | Edge Full support ≤79 | Firefox ? | IE ? | Opera Full support Yes | Safari ? | WebView Android Full support 65 | Chrome Android Full support 65 | Firefox Android ? | Opera Android Full support Yes | Safari iOS ? | Samsung Internet Android Full support 9.0 |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown