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

How to retrieve data within 'enter','leave' handlers #2

Open
radiantone opened this issue Mar 10, 2020 · 1 comment
Open

How to retrieve data within 'enter','leave' handlers #2

radiantone opened this issue Mar 10, 2020 · 1 comment

Comments

@radiantone
Copy link

Hi. Nice little package.

I wanted to inspect the data inside the 'enter' 'leave' callbacks so I can perform some basic logic. How can this be done?

@fresheneesz
Copy link
Owner

Thanks! You should be able to access the event data in the second parameter of the event callbacks. See the documentation in the readme. Eg in enter(types, e), the e is the event.

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

No branches or pull requests

2 participants