Kinda wish the API for custom elements that extend `Button` allowed using the custom tags. Setting `<button is="some-element">` is kind of annoying since I can't use `some-element {}` as a CSS style selector anymore.

@mauve what if your custom element extends HTMLButtonElement ?

Follow

@fabrice Yeah you still need to use the `button is=whatever` syntax. Kinda unfortunate, eh? Else it doesn't actually behave like a button. Even with the `extends` flag inside the custom element registry

· · Web · 0 · 0 · 0
Sign in to participate in the conversation
Mauvestodon

Escape ship from centralized social media run by Mauve.