Tutorialsplane

AngularJs ng-mousemove event example


AngularJs ng-mousemove event example : AngularJs ng-mousemove event example binds mousemove event with elements in html.


Syntax: AngularJs ng-mousemove event

The below example shows the ng-mousemove event directive.

Example




    



<div ng-app="" ng-init="i=1">
    <button ng-mousemove="i = i+1">Mouse Move(On Mousemove)</button>
     Counter = {{i}}
</div>


Try it ยป

AngularJs ng-mousemove event example