Closed drantunes closed 10 years ago
Yes, touch events are supported. If you experience some issues on particular devices, feel free to share.
Example?
Open the demo page in your mobile browser.
lol A drag and drop feature is possible? For example, http://eightmedia.github.io/hammer.js/?
Of course not. It's a switch, what is there to drag and drop on a simple switch?
Switch states changes are triggered on click event, which on modern mobile browsers is interpreted as touch events. What I've only done is to optimize this whole thing by removing the 300ms default delay, by using Fastclick.
Truth. I just confused because in native IOS checkbox, this feature of drag in drop exists.
yea, it makes zero sense that u would make a replica of the iOS7 switch without the drag feature. come on now. It's totally possible. transforms (i.e. translateX) should have been used rather than transitions.
There is an expectation for touch support?