DOMStringMap
The DOMStringMap
interface is used for the HTMLElement.dataset
/SVGElement.dataset
attribute, to represent data for custom attributes added to elements.
Specifications
Specification |
---|
HTML Standard (HTML) # embedding-custom-non-visible-data-with-the-data-*-attributes:domstringmap-3 |
Browser compatibility
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
DOMStringMap |
7 |
12 |
6 |
11 |
≤12.1 |
5.1 |
≤37 |
18 |
6 |
≤12.1 |
5 |
1.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap