Revision 57666
Added by Stefania Martziou over 4 years ago
print-function.ts | ||
---|---|---|
2 | 2 |
import domtoimage from 'dom-to-image'; |
3 | 3 |
|
4 | 4 |
|
5 |
export function printPage() { |
|
6 |
const node = document.getElementById('printable-section');
|
|
5 |
export function printPage(sectionID: string) {
|
|
6 |
const node = document.getElementById(sectionID);
|
|
7 | 7 |
|
8 | 8 |
let img; |
9 | 9 |
let filename; |
Also available in: Unified diff
Continue working on the overview page and created the component for the country page