Hello, I have three page components (shoppingList, productsBought, productsNotBought) placed next to each other horizontally. The middle one has few pages initially. I would like to transfer the page from the middle component to either one on the left or right by swiping left or right. I have written this piece of code to do this, but it causes errors:
Is there any other way to obtain this effect?