mossa.js
An Italian library to move elements 🇮🇹
install
Available on npm:
npm install mossa
or directly download
basic usage
Just create a new instance of mossa.js for each element you want to move.
mossa.js Lorem ipsum dolizzle sit amizzle, i saw beyonces tizzles and my pizzle went crizzle adipiscing my shizz. Ghetto sapien velizzle, aliquet volutpizzle, fizzle quizzle, pimpin' vel, arcu. Pellentesque gangsta tortor.
document0 { console; } { console; };
constructor
DOMElement options;
parameters
- DOMElement: the element that will be used for Mossa.js instantiation
- options
- onStartMoving(element, thumbnail): callback called when the element start moving
- onDrop(element): callback called when the element has been dropped
support
- chrome: latest
- firefox: latest
- safari: latest
- internet explore: ?
contribute
Everyone can contribute! Finding bugs, creating issues, improving documentation, improving editor it self or creating components. Every contribution will be welcomed! 🎅
Fork it -> Branch it -> Test it -> Push it -> Pull Request it 💎