Closed 1451417401 closed 8 years ago
我看了源码里的 iSlider.prototype.bind = iSlider.prototype.delegate这个方法,但我觉得touch事件的处理对click或tap事件还是存在影响的,我bind click后不响应,bind tap后响应两次,对于响应两次我目前的做法是在tap的事件处理函数的最后调用trigger('touchcancel')来解决,不知是否有更好的方法!
可通过绑定不同的状态事件进行控制,或根据event.type进行区分
由于内容是动态加载的,所以请使用事件代理来进行绑定