Open a PDF on Intel XDK

Asked

Viewed 519 times

1

I’m trying to create a link to open a PDF on Intel XDK.

<a href="#" onclick="window.open('pdf/arquivo.pdf', '_blank');">

But it opens the browser and is only on the blank screen. Any suggestions?

1 answer

-1

Dude, I had a lot of problems with XDK to open XLS files, what you need is to use a third party plugin (in the projects tab you have how to add plugins from your computer). He alone cannot open the files.

https://github.com/sitewaerts/cordova-plugin-document-viewer

This one apparently works, I’ll use it too so if it works here I put the code!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.