tommueller / ng-mat-search-bar

An Angular 2+ component for an expandable search-icon.
MIT License
37 stars 9 forks source link

Add the "searchVisible" parameter to README #13

Closed antoinedelia closed 5 years ago

antoinedelia commented 5 years ago

There is a parameter called searchVisible which indicates whether the search bar is opened or closed.

I think this information is quite useful, however it is not described in the README of the project.

Could you please add it so that it helps future developers?

Thanks a lot!

tommueller commented 5 years ago

Hi @antoinedelia, so far searchVisible is only used internally to hide/show elements and trigger some animations. Did not think about people wanting to use it directly (as I suppose consuming the onOpen and onClose events would be the more common approach). Anyhow I will add the hint to the README. Cheers, Tom