The DOMStringMap
interface is used for the HTMLElement.dataset
attribute, to represent data for custom attributes added to elements.
The DOMStringMap
interface is used for the HTMLElement.dataset
attribute, to represent data for custom attributes added to elements.
Specification |
---|
HTML Standard # embedding-custom-non-visible-data-with-the-data-*-attributes:domstringmap-3 |
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 | 3 | 18 | 6 | ≤12.1 | 5 | 1.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/DOMStringMap