Non-Production Machines

    pannerjs

    0.1.3 • Public • Published

    PannerJS

    npm version Build Status devDependency Status

    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

    Install

    npm i pannerjs

    DownloadsWeekly Downloads

    9

    Version

    0.1.3

    License

    MIT

    Last publish

    Collaborators

    • selcher