[Vuejs]-Window.setTimeout() problems

0👍

As you want to use vue.js, you need to look into vue components to accomplish what you need here.

Then, if you control the image rendering within a component, you can display two instances of your component, passing its loop time in props. Since each instance of the component can keep track of its loop time in its own data it will then be able to render itself according to that loop time.

Leave a comment