Control the pause duration before typing and before deleting
const typer = new TypeMorph({
parent: "target",
speed: 50,
loopType: "clear",
loopFinalBehavior: "remove",
loopCount: 1,
loopEndDelay: 1000,
});
await typer.loop("I will wait 1s before I disappear...");
await typer.loop("I will wait 2s between each loop start", {
loopStartDelay: 2000,
loopCount: Infinity,
});