Closed lunaeidi closed 4 years ago
config: ExportAsConfig = {
type: 'pdf',
elementId: 'test',
options: {
jsPDF: {
orientation: 'landscape',
margins: {
top: '20',
left: '20',
right: '20'
}
},
}
};```
check the demo
https://github.com/wnabil/ngx-export-as/blob/master/src/app/app.component.ts
I have the code below as config, and the margins are not being applied. Am I missing something? Thank you!