-
Notifications
You must be signed in to change notification settings - Fork 210
Open
Description
Hey,
I would like to ask you if there's a way to trigger an event on drop click, before opening a drop.
I tried this:
@drop._on @drop.target, 'click', -> console.log('click')
@drop.on 'open', -> console.log('open')But I'm getting open before click in the console. I know what I need might seems wrong, but I need something to trigger based on the user interaction (click on the drop to open it), because I also call open programatically, and based on my current implementation it's hard to differentiate when its being opened because of a user interaction or because I @drop.open programatically.
Is there a way to do that with Drop?
Thanks
Metadata
Metadata
Assignees
Labels
No labels