es6tween-plugin-typer

0.0.11 • Public • Published

es6tween-plugin-typer

Usage

import { Tween } from 'es6-tween';
import 'es6tween-plugin-typer';
 
let tween = new Tween(document.querySelector('#mySpan'), {typer:'Start'}).to({typer:'End'}, 2000).start(); // Demo with no config

Config

Syntax with config

{
    typer:{
    text: 'My Text', /* Your text */
    char: '_', /* looks nice, especially for bash-like UI, after random text applies (or just char if useRandomChars is `false`)
    useRandomChars: true /* looks really cool */
    }
}

Package Sidebar

Install

npm i es6tween-plugin-typer

Weekly Downloads

1

Version

0.0.11

License

MIT

Last publish

Collaborators

  • dalisoft