Defaults & options
Returns object Typed defaults & options
Properties
Properties
typeSpeed
number type speed in millisecondsProperties
startDelay
number time before typing starts in millisecondsProperties
backSpeed
number backspacing speed in millisecondsProperties
smartBackspace
boolean only backspace what doesn’t match the previous stringProperties
shuffle
boolean shuffle the stringsProperties
backDelay
number time before backspacing in millisecondsProperties
fadeOut
boolean Fade out instead of backspacefadeOutClass
string css class for fade animationfadeOutDelay
boolean Fade out delay in millisecondsProperties
Properties
showCursor
boolean show cursorcursorChar
string character for cursorautoInsertCss
boolean insert CSS for cursor and fadeOut into HTML <head>Properties
attr
string attribute for typing
Ex: input placeholder, value, or just HTML textProperties
bindInputFocusEvents
boolean bind to focus and blur if el is text inputProperties
contentType
string ‘html’ or ‘null’ for plaintextAll typing is complete
Parameters
self
TypedBefore each string is typed
Parameters
After each string is typed
Parameters
During looping, after last string is typed
Parameters
self
TypedTyping has been stopped
Parameters
Typing has been started after being stopped
Parameters
After reset
Parameters
self
TypedAfter stop
Parameters
After start
Parameters
After destroy
Parameters
self
TypedTODO: These methods can probably be combined somehow Parse HTML tags & HTML Characters
Initialize the Typed object
Welcome to Typed.js!
Parameters
Returns object a new Typed object
Toggle start() and stop() of the Typed instance
Stop typing / backspacing and enable cursor blinking
Start typing / backspacing after being stopped
Destroy this instance of Typed
Reset Typed and optionally restarts
Parameters
restart
boolean?= nser