Skip to content
This repository has been archived by the owner on Oct 10, 2019. It is now read-only.

Issue when used on sub pages in Ionic #31

Open
AlexFine opened this issue Nov 14, 2015 · 2 comments
Open

Issue when used on sub pages in Ionic #31

AlexFine opened this issue Nov 14, 2015 · 2 comments

Comments

@AlexFine
Copy link

When I'm trying to use ng-pdfviewer in my ionic app it will work perfectly for a standard pdf in a normal page. However, when I use it on "sub pages" (not sure if this is the correct word for what I'm talking about, it's the pages you get when you use href="#/app/search/{{pdf.id}}") it breaks all the links going to the subpage. I've specifically narrowed the problem down to the pdf.Instance. When you comment out the first line the pdf obviously doesn't work correctly, but the links start working correctly again. The error I'm receiving is: Error: undefined is not an object (evaluating 'pdf.Instance')
screen shot 2015-11-14 at 12 20 48 pm

@AlexFine
Copy link
Author

Never mind I figured this one out, please ignore.

@billy84
Copy link

billy84 commented May 28, 2016

Hi AlexFine,

Good to hear from you.
I am a new to ionic and I am interesting in ionic 2.
Can I use ng-pdfviewer in ionic 2?
Could you share some code?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants