ts1 / flipbook-vue

3D page flip effect for Vue.js
https://ts1.github.io/flipbook-vue/
614 stars 158 forks source link

Force odd/even pages to show on certain side of the flipbook #99

Closed Pajicc closed 1 year ago

Pajicc commented 1 year ago

Is it possible to show odd number pages always on the right? In my case, I have a slider that I mapped to the flipbook and I'm using it to change the pages. So if I for example go directly to page 3 with it, I want to keep the same behavior as if I would list the flipbook manually (odd pages are on the right).

ts1 commented 1 year ago

Unfortunately, you can't do that directly. You'll need to modify the slider value to only include odd numbers before passing it to the flipbook. Hope that makes sense.

Pajicc commented 1 year ago

Okay understood, thank you for quick response!