We have Custom Elements, but do we also need Custom Attributes? This was discussed at TPAC. Is it something you'd like on the platform? https://github.com/WICG/webcomponents/issues/1029
Post
Yes! But it'd almost certainly need some kind of scoping, left a comment: github.com/WICG/webcomp...
github.comProposal: Custom attributes for all elements, enhancements for more complex use cases · Issue #1029 · WICG/webcomponentsThis proposal introduces an API for defining custom attributes for both built-ins and custom elements, and design discussion for an API that can be used to define more complex enhancements that inv...
0 reposts3 likes
No replies yet.