shuffle-colorful-chars
v1.0.0
Published
Shuffle characters
Downloads
7
Readme
What is this?
This will applying colorful animation to your text.
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
});
});