From 975495acd8175b9d6cb67c3802b2e90e620ccd32 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Sat, 9 Jul 2016 00:20:23 +0200 Subject: [PATCH] feat(slide-toggle): add drag functionality to thumb --- src/components/slide-toggle/slide-toggle.html | 8 +- src/components/slide-toggle/slide-toggle.scss | 6 + src/components/slide-toggle/slide-toggle.ts | 107 +++++++++++++++++- src/core/gestures/MdGestureConfig.ts | 40 +++++-- test/karma.config.ts | 1 + 5 files changed, 145 insertions(+), 17 deletions(-) diff --git a/src/components/slide-toggle/slide-toggle.html b/src/components/slide-toggle/slide-toggle.html index 80312ea02f33..3672e96da704 100644 --- a/src/components/slide-toggle/slide-toggle.html +++ b/src/components/slide-toggle/slide-toggle.html @@ -1,7 +1,13 @@