JS: Delayed Text Display
Delay each item in an array to be written to the screen creating a typing effect horizontally or vertically.
Options that you are encouraged to edit:
- var
objcan bestrorarr. - var
directioncan be'h'or'v'. - var
delaycan be changed to any number greater than zero. The default delay is in theinit()function and set to 1s for vertical and 150ms for horizontal.
View the modularized project as a stand-alone library at github: chardelay.js