angular on focs code example
Example: textarea angular onfocus
<input name="date" type="text" (focus)="focusFunction()" (focusout)="focusOutFunction()">
<input name="date" type="text" (focus)="focusFunction()" (focusout)="focusOutFunction()">