Skip to content

Commit

Permalink
Merge pull request #17105 from Snuffleupagus/interactive-examples-update
Browse files Browse the repository at this point in the history
Update the "Interactive examples" links (PR 17055 follow-up)
  • Loading branch information
Snuffleupagus authored Oct 10, 2023
2 parents 2c87c48 + 734caab commit 2c39a73
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/contents/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,17 @@ var scaledViewport = page.getViewport({ scale: scale, });
The example demonstrates how promises can be used to handle errors during loading.
It also demonstrates how to wait until a page is loaded and rendered.

<script async src="//jsfiddle.net/pdfjs/9engc9mw/embed/js,html,css,result/"></script>
<script async src="//jsfiddle.net/pdfjs/9engc9mw/embed/html,css,result/"></script>

### Hello World using base64 encoded PDF

The PDF.js can accept any decoded base64 data as an array.

<script async src="//jsfiddle.net/pdfjs/cq0asLqz/embed/js,html,css,result/"></script>
<script async src="//jsfiddle.net/pdfjs/cq0asLqz/embed/html,css,result/"></script>

### Previous/Next example

The same canvas cannot be used to perform to draw two pages at the same time --
the example demonstrates how to wait on previous operation to be complete.

<script async src="//jsfiddle.net/pdfjs/wagvs9Lf/embed/js,html,css,result/"></script>
<script async src="//jsfiddle.net/pdfjs/wagvs9Lf/embed/html,css,result/"></script>

0 comments on commit 2c39a73

Please sign in to comment.