1.0.0 • Published 8 years ago

shuffle-colorful-chars v1.0.0

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

What is this?

This will applying colorful animation to your text.

shuffle-colorful-chars in action

Usage

$ npm install --save shuffle-colorful-chars
<span id="sample">Hello world</span>
import ShuffleColorfulChars from "shuffle-color-chars";

document.addEventListener("DOMContentLoaded", () => {
  const sampleNode = new ShuffleColorfulChars(document.getElementById("sample"), {
    lang: "ja", // optional
    bold: true // optional
  });
  sampleNode.run(() => {
    console.log("Finish animation callback"); // optional
  });
});