typer

Typer

Typer is a tiny lightweight JavaScript plugin for adding nice, customizable Typer effect using custom HTML5 attributes. This plugin is written in native JavaScript ES6 and does not requires any dependencies!

if you have an issue/idea, please feel free to fork the repo or send me a push request and i’ll be happy to push it.

Usage

  1. Load the minified version typer.min.js by placing the script tag before the closing Body tag for better page speed performance.
    <script src="js/typer.min.js"></script>
    
  2. Create an empty span tag with class name typewrite. You’re able to pass the options using the custom HTML5 attributes:
<h3>Hey, I'm
    <span class="typewrite" data-loop="yes" data-speed="100" data-delay="1000" data-words='["word 1", "word 2", "word 3"]'></span>
</h3>

Demo