Script only executes when API is auto fetched
Hi there , I am building a LMS App and i want to integrate DearFlip (3D Flipbook ) . I have already set it up successfully in Wized and thought it would be just copy and paste but i am now struggling with one perticular part where DearFlip only works when the API is auto fetched . As soon as i set it up to get PDFs on change of an input it doens 't work no more . This is crucial for the LMS to complete . ✅1https://update-heilkunde_informativ.toddle.site/DearFlip-copy the first link is where i get the user on load and then on success it should get the PDF sources https://update-heilkunde_informativ.toddle.site/DearFlip the second link is where i auto fetch the scripts and the userId is already put into the parameters It appears that the script from DearFlip only executes on DOM ready , that means that only elements that are on the page when it is loaded will have the FlipBook functionality . This works when auto -fetch is enabled . Auto -fetch gets the elements server -side . The DearFlip code is executed client -side . That means the elements are already there . Now if you fetch data On Load ( =client -side ) , DearFlip has already been initialized and won 't recognize the changes .

.jpeg/public)