🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

typeText is a very small jQuery plugin to simulate the typewriter effect that types each letter of a container one character at a time.

Typing text-animation Typewriter

Documentation

jquery.typeText

Prints the contents of an element, or prints a string inside an element one character at a time.

Usage

typeText( [string], [Object] )

// prints the text in all of the children DOM nodes of the provided selector $("#element").typeText();

or

// prints the string in a paragraph appended to the selector $("#element").typeText("This is a line of text.");

Options

  • lineWait: amount of time to wait between lines (elements)
  • typeSpeed: the delay in milliseconds to wait between each character
  • then: a function to execute once printing is complete

Limitations

  • Does not print deep levels of nested nodes

You May Also Like