Are there any examples using the page action. like when the page 1 is changed perform actions 1 and when page 2 is scrolled perform action 2.?
i am using product_scroller.onchange:page2 but i am getting errorUncaught SyntaxError: Unexpected token :
Hey Chandan — could you perhaps share your prototype? We can take a look for you. In any case, be sure to write:
product_scroller.on "change:currentPage", →
...followed by your code to target page 2. Within this function you can check which page is the new current one by using product_scroller.currentPage. :-)