Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

repeat function with updating data #102

Open
s00500 opened this issue Feb 25, 2021 · 0 comments
Open

repeat function with updating data #102

s00500 opened this issue Feb 25, 2021 · 0 comments

Comments

@s00500
Copy link

s00500 commented Feb 25, 2021

Hi, cool library

I am trying to use the repeat function with an array that I get from a request, I would like to update this array every 500ms

But calling repeat again will further extend all items inside the block. So one option is to set innerHtml to "" but this will clear the template as well and brick repeat.... am I missing something here ? or is this not possible yet ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant