pulr
pulr is a very minimal touch enabled pull down control
just 110 lines of es5 code :) Imagine if we wrote it in es6?
Uses hammer.js so it works the same on the web as on mobile.
Installation
npm install pulr --save
Usage
- add some html
your pulr content, the pulr wrapper, and all your other content below...
Here is some content for your You can push me down!
- now some javascript
using node / commonJs
Use browserify or webpack to bundle your main file below to bundle.js
var pulr = ; document;
- you need some very minimal css