es6tween-plugin-typer
v0.0.11
Published
Text ticker/typer animation for crazy things
Downloads
8
Maintainers
Readme
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 */
}
}