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