Open rahulbabuumg opened 6 years ago
It seems that the NodeDraggableDirective
uses renderer2
, which is the api that can only be used above angular4, so it will get an error. In the project of angular2, I can display it normally by using ng2-tree with version 1.0.0.
You can have a try.
I hope this can help you.
I get the below error when I load the ng2-tree latest version. Tried installing and re-installing the package but no luck. I am using Angular 2. Does ng2-tree work on Angular 2 version?
__zone_symbol__error: Error: Can't resolve all parameters for NodeDraggableDirective: ([object Object], [object Object], ?)