Skip to content

Placing event on nodes before state plugin selects #2561

Answered by vakata
ghost asked this question in Q&A
Discussion options

You must be logged in to vote

you can attach your event even before creating the tree instance itself - that way you won't miss any actions. You can also check if the selection was triggered by user interaction by inspecting the event's data argument - there should be an event property - if it is set - the selection was triggered by a user.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant