Skip to content

Commit

Permalink
deploy: 274a55c
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Feb 28, 2024
1 parent 9b194c6 commit f2829f7
Show file tree
Hide file tree
Showing 40 changed files with 84 additions and 84 deletions.
4 changes: 2 additions & 2 deletions docs/404.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
<meta name="description" content="The open source out-of-the-box PDF reader & viewer build on PDF.js. It's built using vanilla Javascript and framework agnostic. No matter what frontend framework your project are using, React.js, Vue.js, Solid.js, Lit, Angular, Svelte, etc.It should be easy to integrate!">
<link rel="preload stylesheet" href="/document-viewer/docs/assets/style.fc4bc1df.css" as="style">

<script type="module" src="/document-viewer/docs/assets/app.0ad0a6ff.js"></script>
<script type="module" src="/document-viewer/docs/assets/app.b303d244.js"></script>
<link rel="preload" href="/document-viewer/docs/assets/inter-roman-latin.2ed14f66.woff2" as="font" type="font/woff2" crossorigin="">
<link rel="modulepreload" href="/document-viewer/docs/assets/chunks/framework.03d10376.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/chunks/theme.75b9e6c6.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.b6fb1785.lean.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/chunks/theme.82e33d03.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.0a25cb93.lean.js">
<script>(function(t,n,r,e,m){t[e]=t[e]||[],t[e].push({"gtm.start":new Date().getTime(),event:"gtm.js"});var g=n.getElementsByTagName(r)[0],a=n.createElement(r),s=e!="dataLayer"?"&l="+e:"";a.async=!0,a.src="https://www.googletagmanager.com/gtm.js?id="+m+s,g.parentNode.insertBefore(a,g)})(window,document,"script","dataLayer","GTM-N4MC8X9M");</script>
<script id="check-dark-mode">(()=>{const e=localStorage.getItem("vitepress-theme-appearance")||"auto",a=window.matchMedia("(prefers-color-scheme: dark)").matches;(!e||e==="auto"?a:e==="dark")&&document.documentElement.classList.add("dark")})();</script>
<script id="check-mac-os">document.documentElement.classList.toggle("mac",/Mac|iPhone|iPod|iPad/i.test(navigator.platform));</script>
Expand All @@ -21,8 +21,8 @@
<span class="line"><span style="color:#E1E4E8;"> </span><span style="color:#6A737D;">// ...</span></span>
<span class="line"><span style="color:#E1E4E8;">}</span></span></code></pre><pre class="shiki github-light vp-code-light"><code><span class="line"><span style="color:#D73A49;">function</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">createViewerApp</span><span style="color:#24292E;">(</span><span style="color:#E36209;">options</span><span style="color:#D73A49;">:</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">Options</span><span style="color:#24292E;">)</span><span style="color:#D73A49;">:</span><span style="color:#24292E;"> </span><span style="color:#6F42C1;">PDFViewerApplication</span><span style="color:#24292E;"> {</span></span>
<span class="line"><span style="color:#24292E;"> </span><span style="color:#6A737D;">// ...</span></span>
<span class="line"><span style="color:#24292E;">}</span></span></code></pre></div><p>Create a viewer app.</p><ul><li><a href="#Options">Options</a></li></ul><h2 id="options" tabindex="-1">Options <a class="header-anchor" href="#options" aria-label="Permalink to &quot;Options&quot;"></a></h2><h4 id="properties" tabindex="-1">properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;properties&quot;"></a></h4><table><thead><tr><th>name</th><th>type</th><th>description</th><th>defaultValue</th></tr></thead><tbody><tr><td>parent</td><td><code>HTMLElement</code></td><td>Element the PDF viewer will be render to.</td><td>-</td></tr><tr><td>src</td><td><code>string,TypedArray,ArrayBuffer</code></td><td>The source of the PDF document.</td><td>-</td></tr><tr><td>resourcePath</td><td><code>string</code></td><td>The resource path of pdf.js.</td><td>-</td></tr><tr><td>disableCORSCheck <code>optional</code></td><td><code>boolean</code></td><td>Disable CORS check of pdf.js.</td><td>false</td></tr><tr><td>disableAutoSetTitle <code>optional</code></td><td><code>boolean</code></td><td>Disable auto-set title of document caused by pdf.js.</td><td>false</td></tr><tr><td><a href="https://github.com/mozilla/pdf.js/blob/master/web/app_options.js" target="_blank" rel="noreferrer">appOptions</a> <code>optional</code></td><td><code>AppOptions</code></td><td>Default app options of pdf.js.</td><td>{}</td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-7d2be7d2 data-v-f948c78d><!--[--><!--]--><div class="edit-info" data-v-f948c78d><!----><div class="last-updated" data-v-f948c78d><p class="VPLastUpdated" data-v-f948c78d data-v-4f9fb653>Last updated: <time datetime="2024-02-28T00:00:51.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"index.md\":\"15e968e7\",\"learned-knowledge_parts_events.md\":\"d25c95d8\",\"resources.md\":\"56972340\",\"learned-knowledge_parts_app-options.md\":\"27f4c989\",\"get-started.md\":\"c3dec4fb\",\"api.md\":\"b6fb1785\",\"communication.md\":\"44426c6e\",\"architecture.md\":\"e9d4be6a\",\"pitfalls.md\":\"10e6b3fa\",\"learned-knowledge_index.md\":\"a72d46a2\",\"learned-knowledge_parts_application.md\":\"308ba4ac\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. It's built using vanilla Javascript and framework agnostic. No matter what frontend framework your project are using, React.js, Vue.js, Solid.js, Lit, Angular, Svelte, etc.It should be easy to integrate!\",\"base\":\"/document-viewer/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"local\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api\"},{\"text\":\"Resources\",\"link\":\"/resources\"},{\"text\":\"Learn PDF.js\",\"items\":[{\"text\":\"Learned Knowledge\",\"link\":\"/learned-knowledge/\"},{\"text\":\"Architecture\",\"link\":\"/architecture\"},{\"text\":\"Common Pitfalls\",\"link\":\"/pitfalls\"},{\"text\":\"Threads Communication\",\"link\":\"/communication\"}]},{\"text\":\"Links\",\"items\":[{\"text\":\"Npm Package\",\"link\":\"https://www.npmjs.com/package/@document-kits/viewer\"},{\"text\":\"Releases\",\"link\":\"https://github.com/Priestch/document-viewer/tags\"}]},{\"text\":\"Demos\",\"link\":\"https://priestch.github.io/document-viewer/demos/\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Priestch/document-viewer\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/hYXtcr37tz\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>
<span class="line"><span style="color:#24292E;">}</span></span></code></pre></div><p>Create a viewer app.</p><ul><li><a href="#Options">Options</a></li></ul><h2 id="options" tabindex="-1">Options <a class="header-anchor" href="#options" aria-label="Permalink to &quot;Options&quot;"></a></h2><h4 id="properties" tabindex="-1">properties <a class="header-anchor" href="#properties" aria-label="Permalink to &quot;properties&quot;"></a></h4><table><thead><tr><th>name</th><th>type</th><th>description</th><th>defaultValue</th></tr></thead><tbody><tr><td>parent</td><td><code>HTMLElement</code></td><td>Element the PDF viewer will be render to.</td><td>-</td></tr><tr><td>src</td><td><code>string,TypedArray,ArrayBuffer</code></td><td>The source of the PDF document.</td><td>-</td></tr><tr><td>resourcePath</td><td><code>string</code></td><td>The resource path of pdf.js.</td><td>-</td></tr><tr><td>disableCORSCheck <code>optional</code></td><td><code>boolean</code></td><td>Disable CORS check of pdf.js.</td><td>false</td></tr><tr><td>disableAutoSetTitle <code>optional</code></td><td><code>boolean</code></td><td>Disable auto-set title of document caused by pdf.js.</td><td>false</td></tr><tr><td><a href="https://github.com/mozilla/pdf.js/blob/master/web/app_options.js" target="_blank" rel="noreferrer">appOptions</a> <code>optional</code></td><td><code>AppOptions</code></td><td>Default app options of pdf.js.</td><td>{}</td></tr></tbody></table></div></div></main><footer class="VPDocFooter" data-v-7d2be7d2 data-v-f948c78d><!--[--><!--]--><div class="edit-info" data-v-f948c78d><!----><div class="last-updated" data-v-f948c78d><p class="VPLastUpdated" data-v-f948c78d data-v-4f9fb653>Last updated: <time datetime="2024-02-28T00:18:09.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"learned-knowledge_parts_application.md\":\"e7f30cf9\",\"learned-knowledge_parts_events.md\":\"8580fa65\",\"index.md\":\"135dfd2f\",\"communication.md\":\"f04401c1\",\"get-started.md\":\"59df3848\",\"resources.md\":\"897197d2\",\"pitfalls.md\":\"ee357833\",\"learned-knowledge_index.md\":\"0ba4a150\",\"api.md\":\"0a25cb93\",\"architecture.md\":\"1cbc843b\",\"learned-knowledge_parts_app-options.md\":\"994c9bc0\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. It's built using vanilla Javascript and framework agnostic. No matter what frontend framework your project are using, React.js, Vue.js, Solid.js, Lit, Angular, Svelte, etc.It should be easy to integrate!\",\"base\":\"/document-viewer/docs/\",\"head\":[],\"appearance\":true,\"themeConfig\":{\"search\":{\"provider\":\"local\"},\"nav\":[{\"text\":\"Home\",\"link\":\"/\"},{\"text\":\"API\",\"link\":\"/api\"},{\"text\":\"Resources\",\"link\":\"/resources\"},{\"text\":\"Learn PDF.js\",\"items\":[{\"text\":\"Learned Knowledge\",\"link\":\"/learned-knowledge/\"},{\"text\":\"Architecture\",\"link\":\"/architecture\"},{\"text\":\"Common Pitfalls\",\"link\":\"/pitfalls\"},{\"text\":\"Threads Communication\",\"link\":\"/communication\"}]},{\"text\":\"Links\",\"items\":[{\"text\":\"Npm Package\",\"link\":\"https://www.npmjs.com/package/@document-kits/viewer\"},{\"text\":\"Releases\",\"link\":\"https://github.com/Priestch/document-viewer/tags\"}]},{\"text\":\"Demos\",\"link\":\"https://priestch.github.io/document-viewer/demos/\"}],\"socialLinks\":[{\"icon\":\"github\",\"link\":\"https://github.com/Priestch/document-viewer\"},{\"icon\":\"discord\",\"link\":\"https://discord.gg/hYXtcr37tz\"}]},\"locales\":{},\"scrollOffset\":90,\"cleanUrls\":false}");</script>

</body>
</html>
10 changes: 5 additions & 5 deletions docs/architecture.html

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit f2829f7

Please sign in to comment.