Angular 将2个应用程序与离子2中的单个应用程序合并
我已经创建了PDF和CSV文件现在我必须在单个应用程序中合并这两个应用程序,如何在单个应用程序中合并PDF和CSV文件应用程序Angular 将2个应用程序与离子2中的单个应用程序合并,angular,typescript,ionic-framework,Angular,Typescript,Ionic Framework,我已经创建了PDF和CSV文件现在我必须在单个应用程序中合并这两个应用程序,如何在单个应用程序中合并PDF和CSV文件应用程序 document.addEventListener('deviceready', () => { console.log('DEVICE READY FIRED AFTER', (Date.now() - before), 'ms'); cordova.plugins.pdf.htmlToPDF({
document.addEventListener('deviceready', () => {
console.log('DEVICE READY FIRED AFTER', (Date.now() - before), 'ms');
cordova.plugins.pdf.htmlToPDF({
data: "<html> <h1> Hello World </h1> </html>",
documentSize: "A4",
landscape: "portrait",
type: "share"
},
(sucess) => console.log('sucess: ', sucess),
(error) => console.log('error:', error));
});
document.addEventListener('deviceready',()=>{
log('deviceready FIRED AFTER',(Date.now()-before),'ms');
cordova.plugins.pdf.htmlToPDF({
资料:“你好,世界”,
文件大小:“A4”,
风景:“肖像”,
类型:“共享”
},
(suces)=>console.log('suces:',suces),
(error)=>console.log('error:',error));
});
要合并2个应用程序吗?还是2个文件?我想合并2个应用程序PDF和CSV