Commit ab12c6a1 authored by Open Source Developer's avatar Open Source Developer

a

parent 58a969c3
......@@ -12,7 +12,7 @@ import { IAppState } from '../../store/store';
import { ILoginInfo } from '../../store/logininfo/logininfo.types';
import {Router, ActivatedRoute, Params} from '@angular/router';
import { BehaviorSubject, Subscription } from 'rxjs/Rx';
import * as html2canvas from "html2canvas"
//import * as html2canvas from "html2canvas"
......@@ -87,13 +87,13 @@ import * as html2canvas from "html2canvas"
createPdf()
{
html2canvas(document.getElementById("target")).then(function(canvas)
/* html2canvas(document.getElementById("target")).then(function(canvas)
{
var img = canvas.toDataURL();
var doc = new jsPDF('p', 'mm');
doc.addImage(img, 'PNG', 10, 10);
doc.save('applications.pdf');
});
});*/
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment