DOMStringMap

DOMStringMap 接口在 HTMLElement.dataset 属性中被用到,被用于容纳和展示元素的自定义属性。

规范

规范 状态 备注
HTML Living Standard
DOMStringMap
Living Standard

浏览器兼容性

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
DOMStringMapChrome Full support YesEdge Full support 12Firefox Full support 6IE Full support 11Opera 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

Legend

Full support  
Full support

参见