Skip to content

Missing attributes property access on Element #47

Description

@flip111

https://developer.mozilla.org/en-US/docs/Web/API/Element

Element.attributes Read only
Returns a NamedNodeMap object containing the assigned attributes of the corresponding HTML element.

There are some functions to work with attributes here https://pursuit.purescript.org/packages/purescript-web-dom/5.0.0/docs/Web.DOM.Element just sometimes you would like to know which attributes are available before calling getAttribute

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueFirst-time contributors who are looking to help should work on these issues.status: acceptedThis issue is now ready to be implemented via a PR.

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions