From f4745c368940b97f1c2fe7652a1975b06758cd9d Mon Sep 17 00:00:00 2001 From: Adam Bradley Date: Mon, 28 Apr 2014 12:37:43 -0500 Subject: [PATCH] enable/disable toggle pointer-events w/ css only, closes #1185 --- js/angular/directive/toggle.js | 6 +++--- scss/_toggle.scss | 21 +++++++++++++-------- test/html/tapInputs.html | 10 ++++++++++ 3 files changed, 26 insertions(+), 11 deletions(-) diff --git a/js/angular/directive/toggle.js b/js/angular/directive/toggle.js index d6d683cfab..084f6866ed 100644 --- a/js/angular/directive/toggle.js +++ b/js/angular/directive/toggle.js @@ -31,11 +31,11 @@ function($ionicGesture, $timeout) { ngDisabled: '=?' }, transclude: true, - template: '
' + + template: '
' + '
' + - '