Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: HTMLElement.dataset #62

Open
1 task done
toastal opened this issue Aug 4, 2021 · 0 comments
Open
1 task done

Feature: HTMLElement.dataset #62

toastal opened this issue Aug 4, 2021 · 0 comments
Labels
type: enhancement A new feature or addition.

Comments

@toastal
Copy link
Contributor

toastal commented Aug 4, 2021

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

@toastal toastal added the type: enhancement A new feature or addition. label Aug 4, 2021
@toastal toastal changed the title HTMLElement.dataset Feature: HTMLElement.dataset Aug 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: enhancement A new feature or addition.
Projects
None yet
Development

No branches or pull requests

3 participants