angular/adev/shared-docs/components/text-field/text-field.component.html
Sheik Althaf 53341a3b8f refactor(docs-infra): use reactive APIs in shared components (#58425)
Migrated the input, output and queries to reactive APIs for better support of zoneless.

PR Close #58425
2024-11-11 14:36:05 +00:00

12 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"
/>