The DOMStringMap interface is used for the HTMLElement.dataset attribute, to represent data for custom attributes added to elements.


Specification Status Comment
HTML Living Standard
The definition of 'DOMStringMap' in that specification.
Living Standard

Browser compatibility

ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
DOMStringMapChrome Full support YesEdge Full support ≤18Firefox Full support 6IE ? Opera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes


Full support
Full support
Compatibility unknown
Compatibility unknown

See also