Skip to content

Only one Input Object left (no browser feature supports)

License

Notifications You must be signed in to change notification settings

fosonmeng/virtual-touch

Repository files navigation

Virtual Touch

Most of these are stolen from the good project https://github.com/hammerjs/hammer.js . But some modifications, and some logic is removed.

What does this project do

There is some environment where general dom is not available. Thus we have to write a decorator for libraries. Otherwise we could write a polyfill for that environment. But both these approachs are difficult on a platform like wechat. Then the library was refactored.

Chanages from the original hammer.js

  • Remove CSS supports and browser features
  • no references to window or document
  • A Virtual Object as a DOM proxy is exposed
  • Only one Input Object left (no browser feature supports)

About

Only one Input Object left (no browser feature supports)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published