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
Im using real time database and listen to every new added item.
My array contains only 2 item, but it re-display an item which is the first item.
How to properly implement prepend() in dynamic content?
function someFunction(){
const reports = [];
const clusterize1 = new Clusterize({
scrollId: 'scroll-area1',
contentId: 'content-area1'
});
//fetch from db
foreach(){
if(newAddedItem){
reports.push(some tags);
clusterize1.prepend(reports);
}
}
}
The text was updated successfully, but these errors were encountered:
Im using real time database and listen to every new added item.
My array contains only 2 item, but it re-display an item which is the first item.
How to properly implement prepend() in dynamic content?
The text was updated successfully, but these errors were encountered: