Enable/Disable swiper dynamically (touch/mouse)

Multi tool use
Multi tool use
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.

tATjdvx,o8,bkhsZVmQWhMZanopQZZETuBeQjx,Iyw4YQjX,IMAo Ai
2wwJqZ,lvYq0o wibV5VOdz

Popular posts from this blog

Makefile test if variable is not empty

Will Oldham

Visual Studio Code: How to configure includePath for better IntelliSense results