@dreamworld/hammerjs

1.0.1 • Public • Published

hammerjs

Overview

Use cases

import Hammer from  "@dreamworld/hammerjs/hammer.js";

var hammerInstance = new Hammer(element);
hammerInstance.get('pinch').set({ enable: true});

hammerInstance.on('pinch', function(ev) {
    //Write you code based on event
});

Readme

Keywords

none

Package Sidebar

Install

npm i @dreamworld/hammerjs

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

79.6 kB

Total Files

4

Last publish

Collaborators

  • dw-devops
  • ajay-dhameliya
  • chetang7
  • chiragmoradiya