blob: 11f5a1ab06e047eca2976eb1b9bdf57318c1fa4a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
<div class="root">
<div class="input-group has-clear">
<input
#ref
type="text"
[(ngModel)]="value"
(keyup.enter)="sendSearch()"
[hidden]="!inputShown"
[name]="name"
[placeholder]="placeholder"
>
<a class="glyphicon glyphicon-remove-sign form-control-clear" title="Clear filter" i18n-title (click)="onResetFilter()"></a>
</div>
<my-global-icon iconName="search" aria-label="Search" role="button" (click)="onIconClick()" [title]="iconTitle"></my-global-icon>
<my-global-icon *ngIf="!alwaysShow && inputShown" i18n-title title="Close search" iconName="cross" (click)="hideInput()"></my-global-icon>
</div>
|