animated typing
typewriter('#typewriter', 'Hello world!').start();$ component install matthewmueller/typewriter
end: emitted whentypewriterfinishesstart: emitted whentypewriterstarts typingstop: emitted when we manually stoptypewriterrestart: emitted when we manually restarttypewriter
Initialize Typewriter on a given el, with the string str and delay. If no delay is specified, it defaults to 100.
typewriter('#header', 'Hello world!', 200);Start the typewriter
typewriter.start()Stop the typewriter
typewriter.stop()Restart the typewriter. Clears the input
typewriter.restart()Clear the typewriter input
typewriter.clear();MIT
