arguiot/DisplayJS

repeat function with updating data

s00500 opened this issue · 0 comments

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 ?