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