{"_id":"5b65b08eb1906e000319f86e","category":{"_id":"5b65b08eb1906e000319f856","version":"5b65b08eb1906e000319f872","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 reference"},"parentDoc":null,"user":"54d742a80771980d0052f4b5","project":"5707c6875309d117006948d4","version":{"_id":"5b65b08eb1906e000319f872","project":"5707c6875309d117006948d4","__v":0,"forked_from":"5aff027686c0a90003b923b4","createdAt":"2018-03-23T13:06:33.352Z","releaseDate":"2018-03-23T13:06:33.352Z","categories":["5b65b08eb1906e000319f854","5b65b08eb1906e000319f855","5b65b08eb1906e000319f856"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"8.0.0","version":"8.0.0"},"githubsync":"","__v":0,"updates":[],"next":{"pages":[],"description":""},"createdAt":"2016-04-08T15:54:38.426Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"results":{"codes":[]},"settings":"","auth":"required","params":[],"url":""},"isReference":false,"order":2,"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]