{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"TreeNode","type":"basic","slug":"api","excerpt":"","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]","updates":[],"order":2,"isReference":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5c27be9e2b75bd0045dc7472","category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"API reference","slug":"api","order":2,"from_sync":false,"reference":false,"_id":"5c27be9e2b75bd0045dc745a","version":"5c27be9e2b75bd0045dc7476","project":"5707c6875309d117006948d4","createdAt":"2017-07-15T07:29:53.852Z","__v":0},"parentDoc":null,"user":"54d742a80771980d0052f4b5","project":"5707c6875309d117006948d4","version":{"version":"8.2.0","version_clean":"8.2.0","codename":"","is_stable":true,"is_beta":false,"is_hidden":false,"is_deprecated":false,"categories":["5c27be9e2b75bd0045dc7458","5c27be9e2b75bd0045dc7459","5c27be9e2b75bd0045dc745a"],"_id":"5c27be9e2b75bd0045dc7476","project":"5707c6875309d117006948d4","__v":0,"forked_from":"5b65b08eb1906e000319f872","createdAt":"2018-03-23T13:06:33.352Z","releaseDate":"2018-03-23T13:06:33.352Z"},"createdAt":"2016-04-08T15:54:38.426Z","githubsync":"","__v":0}
[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]