AngularJs ng-mousedown event example : AngularJs ng-mousedown event example binds mousedown event with elements in html.
Syntax : AngularJs ng-mousedown event
The below example shows the ng-mousedown event directive.
Example
<div ng-app="" ng-init="i=1"> <button ng-mousedown="i = i+1">Mouse Down(On Mousedown)</button> Counter = {{i}} </div> |