AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng blur Directive

AngularJS ng-blur Directive

 

 

The ng-blur directive is used to tell AngularJS what to do when an HTML element loses focus. It will not override the element original onblur event. Both the ng-blur expression and the original onblur event will be executed.

 

Syntax:-

 

< element ng-blur="expression" >< /element >

 

Further Explanation:-

 

Value Description
expression An expression to execute when an element loses focus.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS