What does Angular 2 hashtags in template mean?

I am working with angular 2 and I have found something like

<input #searchBox (keyup)="search(searchBox.value)"

and it works.

However, I don’t understand the meaning of #searchBox. I haven’t found anything clear neither in the doc.

Could anyone explain to me how it works?

4 Answers
4

Leave a Comment