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