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