Automatically close popup after pdf is loaded on screen

Hi! How can I automatically close popup after pdf is loaded in reactive? Thanks


What popup exactly? In reactive popups are shown and hidden according to a boolean variable.

Yes, but in which event I should use a boolean variable to close popup automatically right after a pdf is loaded on screen? 

(popup = false) don' t work on initialize

Hello @Edward Muratov 

Can you explain it in detail, you mean download a PDF, upload a PDF to database or show a PDF file on screen ?

show a PDF file on screen 

Okay, are you using <embed> tag to display file or any other method ?

I am using ultimate pdf ScreenToPDF_OnInitialize 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.