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
addEventListener
At the very least, we should be able to provide a no-op for addEventListener.
So a case like this should not error at least
class MyComponent extends HTMLElement { constructor() { super(); this.addEventListener('someCustomEvent', () => { console.log('it worked!'); }); } connectedCallback() { this.innerHTML = '<h1>It worked!</h1>'; } }
The text was updated successfully, but these errors were encountered:
thescientist13
Successfully merging a pull request may close this issue.
Type of Change
Summary
At the very least, we should be able to provide a no-op for
addEventListener
.Details
So a case like this should not error at least
The text was updated successfully, but these errors were encountered: