CirclonGroup / angular-tree-component

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

docs(model): correct TreeModel state subscription documentation #925

Closed KeithGillette closed 1 year ago

KeithGillette commented 3 years ago

Documentation incorrectly uses generic subscribe instead of appropriate subscribeToState method

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[X] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?

Documentation references and shows example of subscribe method but uses signature of subscribeToState method.

What is the new behavior?

Corrects references & example of generic subscribe to subscribeToState method.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information