drip-drop icon indicating copy to clipboard operation
drip-drop copied to clipboard

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

Open radiantone opened this issue 4 years ago • 1 comments

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?

radiantone avatar Mar 10 '20 20:03 radiantone

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.

fresheneesz avatar Mar 10 '20 21:03 fresheneesz