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
When there are for example more than 40 slides in the DOM at any given time, remove the ones at the start and if the user goes back to the first pages where they reside, make a request to load them.
slides = ['20 item array'];
max = 30;
when the user navigates to an item in the slides with an id > 20, request an additional 20 items.
and remove the first 10 from the array, to keep the number of dom elements < max.
we only display items 9 to 39
The idea is to not exceed a given max nr. of items in the DOM at any given time.
The text was updated successfully, but these errors were encountered:
Split items into chunks.
When there are for example more than 40 slides in the DOM at any given time, remove the ones at the start and if the user goes back to the first pages where they reside, make a request to load them.
The idea is to not exceed a given max nr. of items in the DOM at any given time.
The text was updated successfully, but these errors were encountered: