Do you think you can help ? I would like to have a single page view by default ... your code provides a solution for this. Where do i add this code ?
Thanks for your reply.
Regards Coen
i***o@dbha.de
2024-09-24
2024-09-24
Hi there,
I tried to realize an automatic switch to "Single Page" on small screens (max-width: 979px).
Therefore I defined two wrappers with the Flipbook inside like:
The containers are switched by CSS @media screen ...
Then I created the container with the FlipBook for Big Screens with default settings.
And for the container with the FlipBook for Small Screens I added the controlsProps:
controlsProps: { actions: {cmdSinglePage: {active: true}} },
When I decrease the browser width, the switch between the two containers works fine, but the Flipbook on Small screens is still in Default Page View (not in Single Page View).
Are the mentioned properties still valid with actual browsers?
Or is it a matter of my settings?
Here the script I used in my testcase:
Figured it out, second line should be
controlsProps: { actions: {cmdSinglePage: {active: true}} },
Dont forget the comma at the end!
{
Hi !
Do you think you can help ? I would like to have a single page view by default ... your code provides a solution for this. Where do i add this code ?
Thanks for your reply.
Regards Coen
Hi there, I tried to realize an automatic switch to "Single Page" on small screens (max-width: 979px). Therefore I defined two wrappers with the Flipbook inside like:
The containers are switched by CSS @media screen ...
Then I created the container with the FlipBook for Big Screens with default settings. And for the container with the FlipBook for Small Screens I added the controlsProps: controlsProps: { actions: {cmdSinglePage: {active: true}} },
When I decrease the browser width, the switch between the two containers works fine, but the Flipbook on Small screens is still in Default Page View (not in Single Page View).
Are the mentioned properties still valid with actual browsers? Or is it a matter of my settings? Here the script I used in my testcase:
Thanks for support and regards, Heiko