Skip to content

No Element -> DOMTokenList #15

Closed
@alextes

Description

@alextes

There's a HTMLElement -> Effect DOMTokenList in web-html but that's a big dep when wanting to work on classes and it seems getting a DOMTokenList is valid for any element and Element is in web-dom. Any reason why classList is in web-html. Could we have it in both? Should the one in web-html be in web-dom?

The implementation of classList is a simple method call.

Just trying to understand the why of it mostly.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions