For getting value in input tag we can use <id>
.value like
<input type="text" #solutionInput (keyup)="0"><br>
<solutionDetail [solutionName]="solutionInput.value" > </solutionDetail>
where 'solutionInput' is <id>
here.
For an anchor tag, how can we get the value "CEP" as in below?
<a href="#" data-toggle="modal" data-target="#myModal1"> CEP </a>
Aucun commentaire:
Enregistrer un commentaire