Text Shuffle Animation In Pure JavaScript – shuffle-text.js
$ npm install shuffle-text
Just import the shuffle-text.js into the html page and we’re ready to go.
<script src="shuffle-text.js"></script>
Create a new instance of the ShuffleText and specify the text container as this:
var el = document.getElementById("myText");
var text = new ShuffleText(el); Start the shuffle animation:
text.start();
Stop the shuffle animation:
text.stop();
Re-set the text to animate:
text.setText(text: string);
12/04/2025
07/24/2024
10/02/2021
05/06/2021
02/21/2021
07/11/2020
08/30/2018
10/01/2018
The post Text Shuffle Animation In Pure JavaScript – shuffle-text.js appeared first on CSS Script.
Sophomore Dakota Evens spent much of middle school in detention or in-school suspension. “I was…
The Concord city manager continues to be one of the highest-paid government employees in the…
The search for Concord High School’s next principal entered a new phase this week. The…
The deadline to file your taxes is less than one month away, on April 15th.…
The deadline to file your taxes is less than one month away, on April 15th.…
The debut game from developer Sunset Visitor, 1000xResist, took us by surprise in 2024 and…
This website uses cookies.