angular-pdf-viewer icon indicating copy to clipboard operation
angular-pdf-viewer copied to clipboard

Text Selection

Open mits004w opened this issue 7 years ago • 5 comments

It throws error when i am trying to integrate in my ionic app. Is it mandatory to include all libraries in ionic?

mits004w avatar Jan 22 '18 17:01 mits004w

Unfortunately I've never worked with ionic. Can you be more specific? What kind of error (message, file and line number)?

To be honest I haven't touched this lib in a while so I probably won't be able to help much, but mentioning the actual error you are getting might be helpful. Who knows, somebody else might be able to answer your question :)

jdryg avatar Jan 22 '18 18:01 jdryg

Hi, Thanks for your reply. I have attached error log screen for your reference. https://drive.google.com/open?id=1RTx1hXo1bea5Te6pcJcmlvQNnqfD9byP

mits004w avatar Jan 24 '18 07:01 mits004w

As far as I can tell this error has nothing to do with text selection. Are you sure you are binding your pdfViewerAPI scope variable to the directive like this: https://github.com/jdryg/angular-pdf-viewer/blob/master/partials/demo.html#L130

Other than that I have no idea what might cause the error. Maybe a newer angularjs version than the one used in the demo (just a shot in the dark but it might affect the order and timing of variable bindings)? Try commenting the code until it works to see what's really causing the issue.

jdryg avatar Jan 24 '18 07:01 jdryg

Sure. Let me check my version.

mits004w avatar Jan 24 '18 08:01 mits004w

I have checked my version. Both versions are same.

mits004w avatar Jan 24 '18 08:01 mits004w