docs: update hero search component to use input event (#26440)
PR Close #26440
This commit is contained in:

committed by
Andrew Kushnir

parent
19546c234e
commit
0d972d9bbf
@ -1,7 +1,7 @@
|
||||
<div id="search-component">
|
||||
<h4>Hero Search</h4>
|
||||
|
||||
<input #searchBox id="search-box" (keyup)="search(searchBox.value)" />
|
||||
<input #searchBox id="search-box" (input)="search(searchBox.value)" />
|
||||
|
||||
<ul class="search-result">
|
||||
<li *ngFor="let hero of heroes | async" >
|
||||
|
Reference in New Issue
Block a user