Using v7, I’d like to hook into the “selected” event client side in angular, for a custom tree.
I have a custom tree working just fine, I just can’t seem to get the event hooked in. I can theoretically use something like this:
$scope.dialogTreeEventHandler.bind("treeNodeSelect", function(ev, args){
However, if I just include the code as is, it fails, because the tree isn’t loaded yet. So how would I include this in such a way that it would actually hook into the event and fire?
Any help would be greatly appreciated!
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/55206-custom-tree-events