Element (First Param of constuctor) | DOM Element | None | This
is a DOM element that you want the typewriter effect to be displayed
in. If using jQuery you need to add [0] to the element -
$('#element')[0]. |
strings | Array of Strings | False | An array of strings which will be typed out one by one. |
autoStart | Boolean | False | Whether
the script should automatically type out the array of strings provided.
It will type each one and then remove then before typing the next
string. |
cursorClassName | String | 'typewriter-cursor' | This is the wrapper class for the cursor element. |
cursor | String | '|' | This is the character that represents the cursor. |
animateCursor | Boolean | True | Whether the cursor element should blink or not. |
blinkSpeed | Number | 50 | The rate at which the cursor blinks. Higher is faster. |
typingSpeed | Number | 'Natural' | This
the time it takes for the character to be added to the DOM. Default is
'natural' which is a keyword to represent a random number. |
deleteSpeed | Number | 'Natural' | This
is the time it takes before each character is removed from the DOM.
Default is 'natural' which is a keyword to represent a random number. |
charSpanClassName | String | 'typewriter-char' | This is the class name which is added to the span tag of each character. |
wrapperClassName | String | 'typewriter-wrapper' | This is the class name which is added to the span tag which wraps around all the character elements in the DOM. |
loop | Boolean | False | Whether it should loop through the series of events. |
devMode | Boolean | False | This will log every action to the console, helpful if the plugin is not working for you and you need to see what it is doing. |