0.0.1 • Published 6 years ago

flyball v0.0.1

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

flyball

Install

$ npm i flyball --save

Usage

Dom

const from = document.getElementById('from')
const to = document.getElementById('to')

flyball(from, to)

Position

const from = { top: 0, left: 100 }
const to = { top: 100, left: 0 }

flyball(from, to)

Position and dom

const from = { top: 0, left: 100 }
const to = document.getElementById('to')

flyball(from, to)

Author

MIT @ Limichange

0.0.1

6 years ago