mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
10540b54f9
Migrated the input, output and queries to reactive APIs for better support of zoneless. PR Close #58425
13 lines
267 B
HTML
13 lines
267 B
HTML
@if (!hideIcon()) {
|
|
<docs-icon class="docs-icon_high-contrast">search</docs-icon>
|
|
}
|
|
<input
|
|
#inputRef
|
|
type="text"
|
|
[attr.placeholder]="placeholder()"
|
|
[attr.name]="name()"
|
|
[ngModel]="value()"
|
|
(ngModelChange)="setValue($event)"
|
|
class="docs-text-field"
|
|
/>
|