Skip to content

al-chang/typewriter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

typewriter

JavaScript typewriter

Provide three arguments to create a typewriter. Need an array of strings that will be iterated through, the html id of the element whose text will be changed, a boolean representing if the typewriter should loop through the words or not, and an integer representing the speed of the typewriter.

Example of creating a type writer

let typewriter = new TypeWriter(["Hello", "World"], "type-wrtier-text", true, 100);

Example of starting the type writer

typewriter.type()

About

JavaScript typewriter

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published