Skip to content

Added onNodeSelect option to get selected node info when clicked.#12

Open
rahul-vashishtha wants to merge 2 commits into
daweilv:masterfrom
rahul-vashishtha:master
Open

Added onNodeSelect option to get selected node info when clicked.#12
rahul-vashishtha wants to merge 2 commits into
daweilv:masterfrom
rahul-vashishtha:master

Conversation

@rahul-vashishtha

Copy link
Copy Markdown

I have added a onNodeSelect option, in which user can get the information of the node which is click.

@BadRookiDev

Copy link
Copy Markdown

LGTM

@tedhsieh1966

Copy link
Copy Markdown

Hi there,
This looks good. Is there an example to use this new feature?

@rahul-vashishtha

Copy link
Copy Markdown
Author

@tedhsieh1966
I required this change when there was a scenario when the user selects the node and I want to get the data which node was selected and what data the node contains to run operations on it.

Scenario:
A json file containing the nodes of files loaded in explorer. When the user selects the node, the preview pane will show the data from that selected node.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants