docs: update hero search component to use input event (#26440)

PR Close #26440
This commit is contained in:
Nikhil Sharma
2018-10-15 02:23:19 +05:30
committed by Andrew Kushnir
parent 19546c234e
commit 0d972d9bbf
3 changed files with 4 additions and 4 deletions

View File

@ -2,7 +2,7 @@
<h4>Hero Search</h4>
<!-- #docregion input -->
<input #searchBox id="search-box" (keyup)="search(searchBox.value)" />
<input #searchBox id="search-box" (input)="search(searchBox.value)" />
<!-- #enddocregion input -->
<ul class="search-result">