Closed
Description
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
Labels
No labels