Enable/Disable swiper dynamically (touch/mouse)
Clash 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.