question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compose an example for the single page viewer

See original GitHub issue

In pull request #8724 a single page viewer has been implemented. It would be nice to have a components example in the examples folder that demonstrates how to use this viewer.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
Snuffleupaguscommented, Oct 1, 2017

In the components folder, pageviewer.js is an example that uses pdf_page_view.js to display pdf files normally. I need to create an example like singlepageviewer.js that uses pdf_single_page_viewer.js.

Considering that PDFSinglePageViewer implements the same interface as PDFViewer, basing the new example on https://github.com/mozilla/pdf.js/blob/master/examples/components/simpleviewer.js would be a much more appropriate starting point.

0reactions
pixelexelcommented, Oct 3, 2017

Got it thanks! Here’s the pull request including all your reviewed changes and according to the Contributing and Squashing Commits wiki : https://github.com/mozilla/pdf.js/pull/8990 Thanks a lot for your time!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a Single Page Application with JavaScript ... - YouTube
View the Code & GitHub Repository:https://dcode.domenade.com/tutorials/build-a- single - page -app-with-javascript-no-frameworksIn today's video ...
Read more >
Single Page App (SPA) Visual Experience Composer
A View can typically represent a whole site or grouped visual elements within a site. To explain further about what Views are, let's...
Read more >
Interoperability APIs | Jetpack Compose - Android Developers
Compose UI View types such as ComposeView and AbstractComposeView use a ViewCompositionStrategy that defines this behavior.
Read more >
Track Single Page App with Google Analytics 4 and Google ...
Learn how to track Single Page Web App with Google Tag Manager (or Single Page Website), and send that pageview data to Google...
Read more >
ASP.NET - Single-Page Applications: Build Modern ...
ASP.NET - Single-Page Applications: Build Modern, Responsive Web Apps with ASP.NET · About the Sample App · Background · Creating the Visual Studio...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found