Last active
December 19, 2019 01:22
-
-
Save fireflysemantics/42b82bd867936d9a0726bb2b40f1649f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<mat-form-field floatLabel="never"> | |
<input matInput | |
#searchInput="matInput" | |
type="text" | |
placeholder="Search" | |
[value]="appState.todoStore.query" | |
(keyup)="appState.search($event.target.value)" | |
autocomplete="off"/> | |
<mat-icon [color]="searchInput.focused ? 'primary' : ''" | |
matSuffix>search</mat-icon> | |
</mat-form-field> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment