I am using turn js for the Book app using Framework 7 - ionic where I haven't want to swipe back after the book section but after setting class no-swipeback it still redirecting to previous div
Is there any way to stop this with turn.js
thanks
maybe this code will help you. other wise give some code to us so we can see your logic as well as your approach.
$(window).ready(function(){
$('#book').turn({
display:'double',
acceleration: true,
elevation:50
});
});
$(window).bind('keydown',function(e){
if (e.keyCode==37)
$('#book').turn('previous');
else if (e.keyCode==39)
$('#book').turn('next');
});