mardi 29 décembre 2015

Invoke the .typed() function multiple times

Okay so I'm currently programming a small text adventure game in JavaScript. Long story short I'm using the typed.js plugin to add a style to the text that appears after every input on the game. For some reason I can't figure out how to invoke the .typed() function multiple time.

I have figured out that 1. I had to change the source of the plugin to not delete what it types out and 2. That I needed to clear the data of the element that I'm invoking the function onto. So with those two things figured out I need to know how to make it not clear the element that the function is being invoked upon.




Aucun commentaire:

Enregistrer un commentaire