Hi, I bought the pro version and is very useful!
I need a way to call a custom callback in two different moments:
I need to call a third-party API to log the user's behaviour. Can someone help me finding the correct way to implement it, I did not see the documentation paragraph about this.
Thank you in advance Andrea
Hi, use:
$('#container').FlipBook({ ready: function(scene) { scene.ctrl.addEventListener('endFlip', function() {console.log(scene.ctrl.getPageForGUI())}); scene.view.container.find('.cmdSave').click(function() { console.log('Save'); }); } });It works, thank you so much! Is there any documentation to understand all the possibilities given from the scene object and possible listeners? I could inspect it from the console but a documentation would be nice to have
Thank you again