drip-drop
drip-drop copied to clipboard
How to retrieve data within 'enter','leave' handlers
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?
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.