Drag with mootools on mobile
问题 Is there a way to make to work the mootools class "Drag" on Safari mobile? Please don't link me to other frameworks. 回答1: Here was my solution to making Mootools Drag support touch events. This method didn't require me to edit the mootools more file since i used Class.refactor (This is only tested with Mootools v.1.3.1) -- it also does not break the usual click events Class.refactor(Drag, { attach: function(){ this.handles.addEvent('touchstart', this.bound.start); return this.previous.apply