Enable/Disable swiper dynamically (touch/mouse)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


Enable/Disable swiper dynamically (touch/mouse)



I have a page with a question and 4 answers, the swiper works great, I can go to the next question and back. What I want is to disable the swipe to the next question until an answer has been pressed. I successfully hide the 'next' arrow with a $scope variable and ng-show but the swipe with touch/mouse still works even after calling the initSwiper function with the new disabled options everytime I press an answer. Is this possible?









By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

'Series' object is not callable Error / Statsmodels illegal variable name