Reputation: 15
below are my code and ouput snippet any best way to show input value when click on screen key board
Upvotes: 0
Views: 198
Reputation: 28
HTML:
<input #inputTag type="hidden" value="Search">
<button (click)="typing('A')">A</button>
TS:
@ViewChild('inputTag') search;
typing(character){
this.search.nativeElement.value.concat(character).
}
Upvotes: 1