Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I've created a custom tree and I'm trying to find the angular event which fires after a node has been rendered.
What I would like to do is run some javascript which appends some HTML after the node:
<i class="icon umb-tree-icon sprTree icon-document" title="#"></i> <a ng-click="select(node, $event)">NODE ITEM</a> [HTML GOES HERE]
Where would this go in my AngularJS code?
function customDialogController($scope, dialogService) { $scope.dialogEventHandler = $({}); $scope.dialogEventHandler.bind("treeNodeSelect", nodeSelectHandler); function nodeSelectHandler(ev, args) { args.event.preventDefault(); args.event.stopPropagation(); $scope.submit(args.node.id); }; }; angular.module("umbraco").controller("Umbraco.CustomDialogController", customDialogController);
Bump...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Custom Tree Event After a Node Has Rendered
I've created a custom tree and I'm trying to find the angular event which fires after a node has been rendered.
What I would like to do is run some javascript which appends some HTML after the node:
Where would this go in my AngularJS code?
Bump...
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.