Is there a way to delay the start of the typing by a few seconds, rather than trigger by button?
Btw, im using the typer.js script, which gives your text a typing animation effect. Here’s the documentation for that script Typer.js Documentation
Is there a way to delay the start of the typing by a few seconds, rather than trigger by button?
Btw, im using the typer.js script, which gives your text a typing animation effect. Here’s the documentation for that script Typer.js Documentation
I would like to do the same thing
Typer might have its own delay but if not you can wrap the code in a setTimeout, something like;
document.addEventListener("DOMContentLoaded", function() {
setTimeout(function() {
typer('#your-element')
.line('Watch me type', {speed: 50, delay: 1000});
}, 3000); // Delay start by 3000 milliseconds (3 seconds)
});