Press "Enter" to skip to content

Javascript Library for Creating a Typing Effect | typing.js

typing.js is a small Javascript library for creating a Typing Effect plug-in that is used to simulate and erase the effects of on-screen typing. Supports writing multi-line text and custom font styles.

typewriter simulator online free, typewriter effect with alternating text, typewriter simulator download, typewriter typing effect css

How to make use of it:

1. Insert typing.css and typing.js into the document.

<link rel="stylesheet" href="typing.css">
<script src="typing.js"></script>

2. Create a container in which you want to output the text.

<div id="demo"></div>

3. Configure the typing.js file.

// selector, speed, initialDelay
_$("demo", 100, 800)

4. API.

_$("demo", 100, 800)
  .type("Hello! ").wait(1000).speed(100)
  .type("This is ").wait(300).speed(100)
  .lineBreak()
  .type("Typing Javascript", { 
      fontWeight: "bold", 
      color: "black",
  }).speed(40)
  .delete("Javascript").wait(1000).speed(200)
  .type("JS", { 
      fontWeight: "bold", 
      color: "black",
  }).wait(1000)
  .lineBreak();

simulate typewriter typing on the screen, typing.js Plugin/Github


See Demo And Download

Official Website(yat529): Click Here

This superior jQuery/javascript plugin is developed by yat529. For extra advanced usage, please go to the official website.

Be First to Comment

    Leave a Reply

    Your email address will not be published.