Skip to content
New issue

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

remove legacy this.fire event #53

Merged
merged 1 commit into from
Oct 4, 2019
Merged

remove legacy this.fire event #53

merged 1 commit into from
Oct 4, 2019

Conversation

catwomey
Copy link
Contributor

This would remove the need for using the legacy element mixin. fire is just a convenience method for dispatching the CustomEvent with buble true and composed true.

Reference: https://polymer-library.polymer-project.org/3.0/api/legacy/legacy-element-mixin#LegacyElementMixin-method-fire

Custom events are polyfilled in the webcomponentjs file https://github.com/webcomponents/polyfills/blob/master/packages/webcomponentsjs/src/platform/custom-event.js

@catwomey catwomey merged commit 4208e9a into master Oct 4, 2019
@catwomey catwomey deleted the update-event-emitting branch October 4, 2019 15:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants