You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This package let's you create a Typewritter effect with just few lines of code.
Example
screen-capture.online-video-cutter.com.mp4
If video is not available, then please check the github repo for example video
npminstall"typing-animation-anshal2"
importTypeAnimfrom"typing-animation-anshal2";
Required Paramaters
newTypeAnim({// list of the words you wanna showwordslist: ["Word1","Word2"],// the element where to show the typing animationelement: HTMLElement,});
Optional Paramaters
newTypeAnim({// list of the words you wanna showwordslist: ["Word1","Word2"],// the element where to show the typing animationelement: HTMLElement,// speed of the typing of words// higher the speed = higher wait time between individual characterstyping_speed: Number,// Default is 100ms,// do you want to show the cursorshow_cursor: boolean,// Default is true// how long should we wait after we finish writing one wordwait_time: Number,// Default is 1000ms});