Giter Site home page Giter Site logo

Comments (4)

huxiaoqi567 avatar huxiaoqi567 commented on July 26, 2024 2

是的 抽空我升个级,顺便改成webpack

from xscroll.

huxiaoqi567 avatar huxiaoqi567 commented on July 26, 2024

xscroll.mc返回Hammer.Manager实例 所以可以调用 xscroll.mc.get('pan').stop() 来进行设置。具体hammerjs的api 参考 http://hammerjs.github.io/api/#hammer.recognizer

from xscroll.

giiska avatar giiska commented on July 26, 2024

@huxiaoqi567 感谢反馈,如果能在这个层面解决就更好了。但是这个 api 文档页面上,我只查到有 xscroll.mc.stop() 方法。

另外,xscroll 用的是 2.0.4 的 Hammer,可以升级到最新版 v2.0.8 了吧。

from xscroll.

wulucxy avatar wulucxy commented on July 26, 2024

@huxiaoqi567 感觉现在的文档和开发方式不是很友好,建议有空更新下文档,然后尽快和webpack之类的打包工具配合起来用,毕竟现在移动端开发基本上都走的是webpack

from xscroll.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.