{"_id":"5a2a43a00b68c20026c6c424","category":{"_id":"5a2a43a00b68c20026c6c420","version":"5a2a43a00b68c20026c6c41d","project":"5707c6875309d117006948d4","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-15T07:29:53.852Z","from_sync":false,"order":2,"slug":"api","title":"API"},"parentDoc":null,"user":"54d742a80771980d0052f4b5","project":"5707c6875309d117006948d4","version":{"_id":"5a2a43a00b68c20026c6c41d","project":"5707c6875309d117006948d4","__v":1,"createdAt":"2017-12-08T07:47:44.113Z","releaseDate":"2017-12-08T07:47:44.113Z","categories":["5a2a43a00b68c20026c6c41e","5a2a43a00b68c20026c6c41f","5a2a43a00b68c20026c6c420","5a2a43a00b68c20026c6c421"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"6.1.0","version":"6.1.0"},"__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-08T15:54:38.426Z","link_external":false,"link_url":"","githubsync":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":19,"body":"[block:api-header]\n{\n  \"title\": \"Getting a reference to a TreeNode instance\"\n}\n[/block]\nYou can get a reference to a single tree node in 3 ways:\n- In event callbacks\n- In action mapping callback\n- By calling treeModel methods (`getNodeById`, `getNodeByPath`, `getNodeBy`)\n[block:api-header]\n{\n  \"title\": \"Complete API\"\n}\n[/block]\nComplete API for a single TreeNode instance:\n[block:embed]\n{\n  \"html\": false,\n  \"url\": \"https://rawgit.com/500tech/angular-tree-component/master/doc/interfaces/_api_.itreenode.html\",\n  \"title\": \"ITreeNode | angular-tree-component\",\n  \"favicon\": \"https://rawgit.com/favicon.ico\",\n  \"iframe\": true,\n  \"height\": \"2000px\"\n}\n[/block]","excerpt":"","slug":"api","type":"basic","title":"TreeNode"}
[block:api-header] { "title": "Getting a reference to a TreeNode instance" } [/block] You can get a reference to a single tree node in 3 ways: - In event callbacks - In action mapping callback - By calling treeModel methods (`getNodeById`, `getNodeByPath`, `getNodeBy`) [block:api-header] { "title": "Complete API" } [/block] Complete API for a single TreeNode instance: [block:embed] { "html": false, "url": "https://rawgit.com/500tech/angular-tree-component/master/doc/interfaces/_api_.itreenode.html", "title": "ITreeNode | angular-tree-component", "favicon": "https://rawgit.com/favicon.ico", "iframe": true, "height": "2000px" } [/block]