return "immediate";
}
}
+ return this.transitionType();
+ },
+
+ transitionType: function () {
if (this.fluidbook.settings.mobileTransitions === 'fade') {
if (this.fluidbook.displayOnePage) {
return 'fadeone';
return 'flip3d';
}
return 'flipcss';
-
},
pageTransition: function (pageNr, transitionType) {
if (this.panInited) {
return;
}
- var $this=this;
+ var $this = this;
this.panInited = true;
if (panElementId === undefined) {
}
- if(this.fluidbook.input.usingMouse){
+ if (this.fluidbook.input.usingMouse) {
return false;
}
this.fluidbook.zoom.setOrigin(ox, oy, true);
},
-};
+ elasticSlide: function () {
+ return this.fluidbook.settings.slideTransitionsElastic == '1' && ['slide', 'portrait', 'slidefullwidth'].indexOf(this.fluidbook.pagetransitions.transitionType()) >= 0;
+ }
+};
\ No newline at end of file