I have a lightning component which displays list of accounts in table. And I need to create a button. On clicking , screenshot of the screen should be downloaded as PDF/excel file.
I am not sure how to proceed on this. I know I have to use JS library but don't really know how can I use this. Please let me know or provide any helpful links.