You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just as a note, i found that this works for my needs:
typewriterRef.current.state.eventQueue=[]
In my case I am using the React component and keep a ref to the typewriter object. Setting the eventQueue to empty array does reset the queue. I'm sure there is something wrong with what I'm doing but for now its fine :)
Is there any way to clear/reset the typewriter to its initial state? I want to be able to interupt it an restart if from the beginning. Possible?
The text was updated successfully, but these errors were encountered: