Try it
Javascript
Jquery
Angular
Learn Angular
Learn Javascript
Learn Bootstrap
Learn jQuery
Ng-Mouseleave-1
Count value increase each time by 1 when we leave the mouse from button.
<!DOCTYPE html> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.4.2/angular.min.js"></script> </head> <body ng-app> <div> <input type="button" value="Mouse Move" ng-mouseleave="count=count+1" /> {{count}} </div> </body> </html>
Output
×
Save This try
Title
Description
Count value increase each time by 1 when we leave the mouse from button.