AngularJS

AngularJS Directives

AngularJS Filters and Elements

AngularJS Tutorials

AngularJS ng mouseup Directive

AngularJS ng-mouseup Directive

 

 

The ng-mouseup directive is used to tell AngularJS what to do when a mouse button is pressed and then released on the specific HTML element.
It will not override the element original onmouseup event and both will be executed.

 

Order of a mouse click is:

 

  1. Mousedown
  2. Mouseup
  3. Click

 

Syntax:-

 

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

 

Further Explanation:-

 

Value Description
expression An expression to execute when a mouse button is clicked.

Code Explanation

All Tutorials related to AngularJS Directives

All Sections related to AngularJS