Tag: nativeelement
-
How to focus on a text box/html element again after user interaction in Angular?
Let’s say you want to focus on a html element as soon as user does something on your angular app. May be you want user to fill a set of fields and then on clicking submit button bring back the focus on the first field. How to do this? STEP1: Declare template variable name for…