flyball
v0.0.1 css js
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