Project

General

Profile

« Previous | Next » 

Revision 57666

Continue working on the overview page and created the component for the country page

View differences:

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