pannerjs
v0.1.3
Published
Make web elements pannable!
Downloads
2
Readme
PannerJS
A small library for making web elements pannable.
Demo
Online demo is available here
Installation
npm install pannerjs --save
Usage
var panner = require('panner');
var elem = document.querySelector('.class');
var container = elem.parentElement;
panner.init(elem);
// or
panner.init(elem, container);
Tests
npm test
Contributing
Take care to maintain the existing coding style.
Add unit tests for any new or changed functionality.
Lint and test your code.
Release History
- 0.1.0 Initial release
- 0.1.1 0.1.2 Update readme for NPM