ng2-tree icon indicating copy to clipboard operation
ng2-tree copied to clipboard

Event for right click?

Open srikarshastry opened this issue 8 years ago • 4 comments

Is there an event for right click on node? like (NodeRightClicked) ?

srikarshastry avatar Mar 30 '18 19:03 srikarshastry

@hotdog1987 The right-click on the node activates a node menu currently. There is not dedicated event for this.

rychkog avatar Mar 31 '18 14:03 rychkog

Yes but is there a way to know if user has right clicked on a node to see the menu? It renders an element 'node-menu' and using angular's elementref to search for element exists is not solving my purpose. I need to perform api call when user right clicks on a node.

srikarshastry avatar Mar 31 '18 14:03 srikarshastry

@hotdog1987 I think we can publish an event on that action - will bring this in the next release.

rychkog avatar Apr 03 '18 08:04 rychkog

@rychkog Thank you so much for your attention. Any estimate on this please?

srikarshastry avatar Apr 04 '18 16:04 srikarshastry