question : suppose we have
const items = [10]; // 10 images
on the window we only want to show 3 images. that means for the last image we need to click the next button 2/3 times.
so at the time of the last image(10th image ), we don’t have further data (infinite scrolling = false ) so I want to hide the next button in this. user can only see the previous button and vice versa.
Questions
question : suppose we have const items = [10]; // 10 images on the window we only want to show 3 images. that means for the last image we need to click the next button 2/3 times. so at the time of the last image(10th image ), we don’t have further data (infinite scrolling = false ) so I want to hide the next button in this. user can only see the previous button and vice versa.