Skip to content Skip to sidebar Skip to footer

Wicked PDF - Wait For AJAX Request To Finish

I'm trying to generate a PDF using WickedPDF and all of my static HTML/CSS is loading. I have a few elements on the page that are populated using AJAX requests, but they are not s

Solution 1:

This should work:

render :pdf => 'out.pdf',
       :javascript_delay => 5000

Post a Comment for "Wicked PDF - Wait For AJAX Request To Finish"