Extending native button element #2325
Unanswered
grantkang5
asked this question in
Q&A
Replies: 1 comment 4 replies
-
You might find this discussion interesting. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there a way to extend off other native elements in the browser other than
HTMLElement
? ie.HTMLButtonElement
.Seems like
LitElement
doesn't allow this if I wanted to do something likecustomElements.define('fancy-button', FancyButton, { extends: 'button' }
.I want to extend off native button features in the browser for accessibility/native styles.
Beta Was this translation helpful? Give feedback.
All reactions