CirclonGroup / angular-tree-component

A simple yet powerful tree component for Angular (>=2)
https://angular2-tree.readme.io/docs
MIT License
1.09k stars 488 forks source link

Deactivate method for TreeNode #934

Open ErdalDomi opened 2 years ago

ErdalDomi commented 2 years ago

Hi,

Going through the documentation I could only find toggleActivated() method. This is fine when dealing only with one active node at a time, but when dealing with multiple active nodes the need for a deactivate() method becomes quite useful/needed.

Would you please consider supplementing the API with this method? It does sound straightforward to implement.

Many thanks