3D FlipBook - Exit Fullscreen

c***n@gmail.com
2022-04-26
2022-07-01

i want to control the full screen, this is due to i open a modal when the user clicks a link on the PDF, is there a way to exit full screen from jquery or vanilla js?

Replies

a***r@3dflipbook.net
2022-07-01
2022-07-01

yes: you can use browser API or call a plugin function:

$('#container').FlipBook({
  ready: function(scene) {
    $('body').click(function() {
      scene.ctrl.cmdFullScreen();
    });
  }
});
Log In to leave a comment