Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
When setting the strings property of a Typed instance to an array with length greater than 0 and resetting the instance with
If you instead do:
it works fine.
Steps to Reproduce
var textArray = ["string", "string"];
Expected behavior: resets the string array with a new one and properly progresses through a multimember array without throwing the error using the
Im just trying to update the same instance with new text arrays. Maybe the reset method wasnt meant for that and destroying the instance is correct.
@mattboldt I ran
If it helps, that error is pointing to line 230 which is in this block:
Im using it in a vue.js app and tested like so:
@mattboldt This issue is still occurring actually, you need to wrap the
@belyas yeah the docs say to wrap your HTML strings in a parent element: https://github.com/mattboldt/typed.js#strings-from-static-html-seo-friendly