A library to allow for a type bot creation using vanilla JS and by passing the following arguments to configure the typing animation:
Element: target container element id
WrapperContainerClassName: container wrapping the element id
Mode: Typebots Mode Identifier, allowing for multiple typing animations, as simulated in here
Text: an array of text to be typed. To be able to add a paragraph the text should end with a ";"
Speed: animation speed
Delay: delay between the typing of each letter
Blinker: shows or hides the blinker
Paused: pause the typing and will not start typing until .start() is called
ClassName: Class Name to use on pauseStart mode, this is an extra class name added to the wrapper container already using the class mentioned on "WrapperContainerClassName" input
Typebot is fully built in JS based on the Typebot Github Project with some changes and adapted to Outsystems.
- Updated Demo with all the modes available
- Updated Asset widget