0.4.0 • Published 8 years ago

drag-view v0.4.0

Weekly downloads
2
License
ISC
Repository
github
Last release
8 years ago

drag-view

DragView makes an element scrollable and scaleable with touch/mouse gestures within it's parent container, ensuring that it will remain bounded by it's containers edges.

Installation

npm install --save drag-view

Usage

var DragView = require('drag-view')

var el = document.getElementById('view')

new DragView(el, { scaleable: true })

Development

Start webpack dev server serving the example code in http://localhost:8080 with

npm start
0.4.0

8 years ago

0.3.2

8 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.0

8 years ago