UNPKG

angular-material-npfixed

Version:

The Angular Material project is an implementation of Material Design in Angular.js. This project provides a set of reusable, well-tested, and accessible Material Design UI components. Angular Material is supported internally at Google by the Angular.js, M

18 lines (15 loc) 424 B
angular.module('demoSwipe', ['ngMaterial']) .controller('demoSwipeCtrl', function($scope) { $scope.onSwipeLeft = function(ev) { alert('You swiped left!!'); }; $scope.onSwipeRight = function(ev) { alert('You swiped right!!'); }; $scope.onSwipeUp = function(ev) { alert('You swiped up!!'); }; $scope.onSwipeDown = function(ev) { alert('You swiped down!!'); }; });