vanilla-kinetic
v3.0.0-alpha.5
Published
> Based on [Dave Taylor](http://davetayls.me)'s [jQuery Kinetic](https://github.com/davetayls/jquery.kinetic/) - kudos!
Downloads
200
Readme
Vanilla Kinetic
Based on Dave Taylor's jQuery Kinetic - kudos!
vanilla-kinetic is a simple library which adds smooth drag scrolling with gradual deceleration and zooming to containers.
WARNING: This software is currently in beta state. No docs, missing features. Beware. Expect stable version soon. API will slightly change.
Usage
Basic
import { VanillaKinetic } from "vanilla-kinetic";
const container = document.getElementById("container");
const instance = new VanillaKinetic(container);
React
React wrapper will come soon.
Options
Docs coming soon.
Demo
Soon.
Compatibility
This library should work with every browser released after ~2017.
License
MIT