Open
Description
Prerequisites
- Before opening an issue, please check the HTML standard (https://html.spec.whatwg.org). If it doesn't appear in this spec, it may be present in the spec for one of the other
purescript-web
projects. Although MDN is a great resource, it is not a suitable reference for this project.
Description
The dataset read-only property of the HTMLElement interface provides read/write access to custom data attributes (data-) on elements. It exposes a map of strings (DOMStringMap) with an entry for each data- attribute.
https://html.spec.whatwg.org/multipage/dom.html#dom-dataset-dev
https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/dataset