intbot / ng2-pdfjs-viewer

An angular component for PDFJS and ViewerJS (Supports all versions of angular)
Apache License 2.0
225 stars 113 forks source link

Please, SRC DATABASE #159

Closed LuizWeitz closed 2 years ago

LuizWeitz commented 2 years ago

Hello,

first excellent project

I need help in the src, my case is, I register the url of the pdf of another server in my database, then I need to pass this url to the pdf src for it to read, but it doesn't read

example of code

" ng2-pdfjs-viewer pdfSrc="{{book.read}}"></ng2-pdfjs-viewer "

but when I do that nothing happens, nor does the console get an error

codehippie1 commented 2 years ago

This seems to be how to use library question. Please create a stack overflow question with this library as tag along with code sample. Community will help.

Code

On Mon, Aug 9, 2021, 3:38 PM Luiz Weitz @.***> wrote:

Hello,

first excellent project

I need help in the src, my case is, I register the url of the pdf of another server in my database, then I need to pass this url to the pdf src for it to read, but it doesn't read

example of code

<ng2-pdfjs-viewer [pdfSrc]="{{book.url_read}}">

but when I do that nothing happens, nor does the console get an error

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/intbot/ng2-pdfjs-viewer/issues/159, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEL3UNQLQPUP3L7FFHLLNH3T4AVDFANCNFSM5B2VMSTA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email .

LuizWeitz commented 2 years ago

Thanks