I have implemented 3dflipbook i want to call ajax only one time when first page flip by user
Use ready function https://3dflipbook.net/documentation#general-approach :
var options = { pdf: 'example.pdf', .., ready: function(scene) { var handler = function(e) { console.log('Ajax here'); scene.ctrl.removeEventListener('endFlip', handler); }; scene.ctrl.addEventListener('endFlip', handler); } };
thanks it's work...
Use ready function https://3dflipbook.net/documentation#general-approach :
thanks it's work...