3.0.0-alpha.5 • Published 11 months ago

vanilla-kinetic v3.0.0-alpha.5

Weekly downloads
-
License
MIT
Repository
github
Last release
11 months ago

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