We're going to talk more about AngluarJS and a little bit into Hammer.js and touch
We are simply going to refactor this project.
Clone the example repo by running git clone https://github.com/shovon/iat381-lab4-app.git
.
cd
into the folder and let's get cracking.
Working with Hammer.js is insanely easy.
var mc = new Hammer(myElement, myOptions);
mc.on('pan', function(ev) {
console.log(ev);
});
Read the docs at hammerjs.github.io/getting-started