Skip to content

kelvinperrie/DelayText

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

JQuery pluging to display text with a delay between words or characters

Usage

$(".myDiv").outputCharactersWithDelay("Hello world");

Configuration

The only configuration options are the delay between each output and callbacks for when output complete or when each output part (e.g. word) is complete. Pass this as an additional object.

var textToOutput = "Hello world";
$(".myDiv").outputWordsWithDelay(textToOutput, { outputPartDelay: 200, completedCallBack: function () { myDoneFunction(); } });

Demo

https://delaytext.netlify.app/demo.html

About

jquery plugin to output text with a delay between words or characters

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages