Skip to content

Add originalEvent #8

Open
Zombaya wants to merge 1 commit intololmaus:0.xfrom
integr8rs:0.x
Open

Add originalEvent #8
Zombaya wants to merge 1 commit intololmaus:0.xfrom
integr8rs:0.x

Conversation

@Zombaya
Copy link
Copy Markdown

@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
Copy Markdown
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