Angularjs input field focus event?

前端 未结 3 852
心在旅途
心在旅途 2021-01-03 18:02

i use angularjs and i have created a normal input field like this:


i

3条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-03 18:50

    You are looking at ng-focus and ng-blur.

    
    

    On a side note, use css classes instead of inline styles.. :)

    Or just call the same method with argument and set the value acc:-

     
    

提交回复
热议问题