tommueller / ng-mat-search-bar

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

Subscribe to onEnter event #21

Closed 1ycx closed 4 years ago

1ycx commented 4 years ago

Can you give a concise example on how to subscribe to the onEnter event ? Also, it'd be better if you linked the npm package to github repo so that others know where to create issue or propose PRs. Thanks.

1ycx commented 4 years ago

I figured out how to handle the onEnter event from here. But what I didn't understand is how to call the close() and open() functions. Any help with that would be appreciated.

1ycx commented 4 years ago

I finally solved this problem.

tommueller commented 4 years ago

@Kogam22 just fyi I linked the repo now to npm. Cheers