Zicrael / ngx-tree-dnd

Angular 7 support, data sortable draggable smart tree.
https://ngx-tree-dnd.stackblitz.io
MIT License
39 stars 11 forks source link

How to pass dynamic data to the tree using services ? #14

Closed achrefothmani closed 5 years ago

achrefothmani commented 5 years ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like A clear and concise description of what you want to happen.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.

Zicrael commented 5 years ago

Hello Achrefothmeni! You can create variable ( 'treeArray' for expample ) on service and pass it inside component template. Thank you for ask:)

t2pdev01 commented 5 years ago

can you please give any example on this.?