straversi / Typer.js

Typing effect completely configurable in HTML.
http://steven.codes/typerjs
MIT License
135 stars 23 forks source link

Add options to randomize delay between typestroke #15

Closed rizdaprasetya closed 5 years ago

rizdaprasetya commented 5 years ago

Description

Addressing todo: Add human-like option that varies character delays slightly

And the great feedback here: https://github.com/straversi/Typer.js/pull/11#issuecomment-480467293

I added options:

Example Usage / Demo

<span class="typer" id="first-typer" data-words="beetsWithCheese,bearsWithShields,battlestar galactica" data-delay="150" data-delay-variance="50"></span>  

https://jsfiddle.net/Lvc1pqno/

Modified docs preview:

https://raw.githack.com/rizdaprasetya/Typer.js/patch-2/docs/index.html

straversi commented 5 years ago

Awesome! Thanks so much for addressing the feedback. Looks great.