0
Q:

template reference variable

<button (click)="show(lastNameInput)">Show</button>
0
<input type="text" #firstNameInput><input type="text" #lastNameInput>
0
show(lastName: HTMLInputElement){    console.log(lastName.value);}
0

New to Communities?

Join the community