Skip to content

Way of checking if a node is selected #24

Answered by bcakmakoglu
vvroul asked this question in Q&A
Discussion options

You must be logged in to vote

There's multiple ways to discern if a node is selected.
A selected node will have the .selected class applied to it.
You can also check the Store state and check the stored nodes whether selected is set to true.

Do you need a more specific example for it? :)

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@vvroul
Comment options

@bcakmakoglu
Comment options

@vvroul
Comment options

Answer selected by bcakmakoglu
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants