I noticed that Andrea responds, working in your case, this will ruin the effect (make it too jagged) when used with an array of strings with multiple elements.
If someone is facing the same problem as me, they can probably do what I did.
I used a counter to check if typed.js is called a second time and .logo h3 is re-added when this is done.
So, I added a wrapper.
<div class="wrapper"> <div class="logo"><h3></h3></div> <div>
and then implemented
if(counter==1){ $(".logo h3").typed({ strings: stringArrayWithManyElements, typeSpeed: 75 }); } else{ $('wrapper').html(''); $(".logo h3") .typed({ strings: stringArrayWithManyElements, typeSpeed: 75 }); }
source share