I want to generate and download a PDF using the library PDFMake. I\'m able to generate the PDF on the server-side but I can\'t emit an event to download the file after the