Execute
<!DOCTYPE html> <html> <head> <title>Wikitechy AngularJS Tutorials</title> <script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.5.6/angular.min.js"></script> </head> <body ng-app=""> <h2>Wikitechy ng-dblclick Directive in AngularJS </h2> <button ng-dblclick="count = count + 1" ng-init="count=0"> DoubleClick Me! </button> </br> <h3>The button has been double-clicked : {{count}} times</h3> </body> </html>
www.wikitechy.com © Copyright 2016. All Rights Reserved.