{"_id":"59a9e41bb925cb000f923e74","category":{"_id":"59a9e41bb925cb000f923e5e","version":"59a9e41ab925cb000f923e5c","project":"5707c6875309d117006948d4","__v":0,"sync":{"url":"","isSync":false},"reference":false,"createdAt":"2017-07-15T07:29:53.852Z","from_sync":false,"order":1,"slug":"api","title":"Complete API"},"parentDoc":null,"user":"54d742a80771980d0052f4b5","project":"5707c6875309d117006948d4","version":{"_id":"59a9e41ab925cb000f923e5c","project":"5707c6875309d117006948d4","__v":1,"createdAt":"2017-09-01T22:50:02.967Z","releaseDate":"2017-09-01T22:50:02.967Z","categories":["59a9e41bb925cb000f923e5d","59a9e41bb925cb000f923e5e","59a9e41bb925cb000f923e5f","59a9e41bb925cb000f923e60"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"5.0.0","version":"5.0.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":11,"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]