es6tween-plugin-scroll

0.0.13 • Public • Published

es6-tween-plugin-scroll

Usage

import { Tween } from 'es6-tween';
import 'es6-tween-plugin-scroll';
 
let tween = new Tween(document.querySelector('#myBody'), {scrollTop:200/*optional*/,scrollLeft:0/*optional*/}).to({scrollTop:'#myTarget',scrollLeft:500}, 2000).start();

/es6tween-plugin-scroll/

    Package Sidebar

    Install

    npm i es6tween-plugin-scroll

    Weekly Downloads

    5

    Version

    0.0.13

    License

    MIT

    Last publish

    Collaborators

    • dalisoft