Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 555 Bytes

README.md

File metadata and controls

15 lines (15 loc) · 555 Bytes

autoType.js

Auto-typing with JavaScript

how?

It takes the text, the element and the duration from you and prints the letters of the text in that
element word for word according to the duration (as if it were being typed);

how to use?

First link the autoType.js file to the page before all scripts

<script src="autoType.js"></script>

Then use the writer function to use autoType

Example :

javascript :
const p = document.querySelector("#myParagraph")
writer("Hello World", p, 230)