We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CustomElements
After some research, it turns out to extend native HTML elements, you need to make a class that extends them, example:
export class CoolButton extends HTMLButton { ... } window.customElements.define('cool-button', CoolButton, { extends: 'button' });
You need to do both: extend a class and add extends in options.
extends
I think we should postpone fixing this to next version
EDIT 17.12.2021: I think this feature is not required now and I see no use case for it. We should stall this issue for now.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
After some research, it turns out to extend native HTML elements, you need to make a class that extends them, example:
You need to do both: extend a class and add
extends
in options.I think we should postpone fixing this to next version
EDIT 17.12.2021:
I think this feature is not required now and I see no use case for it. We should stall this issue for now.
The text was updated successfully, but these errors were encountered: