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

Add originalEvent #8

Open
wants to merge 1 commit into
base: 0.x
Choose a base branch
from
Open

Add originalEvent #8

wants to merge 1 commit into from

Conversation

Zombaya
Copy link

@Zombaya Zombaya commented Jun 7, 2019

I needed information of the original event so I added this to the triggered event.

The event.originalEvent || event is because the event seems to pass twice through the stack and this would result in event.originalEvent.originalEvent on the resulting event.

@Zombaya
Copy link
Author

Zombaya commented Jun 7, 2019

And a thank you for this library since it works as advertised and solves an itch we were having! 👍

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.

1 participant