oimyounis / autotyperjs

A light-weight JavaScript library for making automatic text changes with a typing effect.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

autotyperJS

A light-weight JavaScript library for making automatic text changes with a typing effect.

How to use?

  • Import the script
<script src="/static/js/AutoTyper.js"></script>
  • Initialize an instance
new AutoTyper('.dynamic-text', [
  'Word One.',
  'Word Two.',
  'Word Three.',
  'Word Four.'
], false);

Syntax

AutoTyper(selector, wordList, loop)

If loop is set to false the typer will stop after the last word otherwise, it will repeat from the beginning.

About

A light-weight JavaScript library for making automatic text changes with a typing effect.


Languages

Language:JavaScript 52.4%Language:TypeScript 47.6%