Skip to content

Commit

Permalink
Readme file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajeev Ranjan authored and crazilazi committed Mar 9, 2021
1 parent a617188 commit 665e88f
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,7 @@ printButton.addEventListener("click", async (event) => {
format: 'a4',
},
spin: false,
fileName: 'default',
// You can hide element which you don't want to be part of pdf
hideDomNodeUsingGivenSelectors: {
id: [],
class: [],
nodes: []
},
fileName: 'default'
}
};
await printHtmlToPDF.print(node, pdfOption);
Expand Down

0 comments on commit 665e88f

Please sign in to comment.