I have a view where at first 1 item has to show. On click of 'load more' next item has to show and so on. For this i have installed 'infinite scroll module' in drupal 8. Now after showing four items, 'load more' has to change to ' show less' and hide all four items. I am not sure how to do this as infinite scroll module doesn't have this option.
Also, once there are four items are displayed, pagination with 'next' (on click showing next 4 items) has to appear.
I am not sure how to do this. Any help will be appreciated.