0.0.11 • Published 8 years ago
es6tween-plugin-typer v0.0.11
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 configConfig
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 */
	}
}