ng2-pdfjs-viewer icon indicating copy to clipboard operation
ng2-pdfjs-viewer copied to clipboard

How to implement event bus?

Open pptyasar opened this issue 4 years ago • 2 comments

Pdf js provides Third party viewer usage as in https://github.com/mozilla/pdf.js/wiki/Third-party-viewer-usage,

How to achieve this in ng2-pdfjs-viewer

pptyasar avatar Nov 14 '20 10:11 pptyasar

@pptyasar If you look into the code/documentation - You may see that PDFViewerApplication object and PDFViewerApplicationOptions objects are exposed via get(), Follow mozilla's documentation from the link you provided once you get hold of these objects.

codehippie1 avatar Feb 28 '21 04:02 codehippie1

PDFViewerApplication object

Would you add an example of using PDFViewerApplication object in your library?

YipingRuan avatar Oct 27 '21 06:10 YipingRuan