Skip to content

Commit

Permalink
deploy: 4593e8b
Browse files Browse the repository at this point in the history
  • Loading branch information
Priestch committed Dec 8, 2023
1 parent 6ed6717 commit 7bdc421
Show file tree
Hide file tree
Showing 35 changed files with 57 additions and 57 deletions.
2 changes: 1 addition & 1 deletion docs/404.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions docs/api.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<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.d0f694e5.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.0f656e56.lean.js">
<link rel="modulepreload" href="/document-viewer/docs/assets/api.md.751b7409.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="2023-11-22T14:35:23.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"communication.md\":\"6a893a61\",\"resources.md\":\"4c5120e2\",\"learned-knowledge_parts_events.md\":\"7e6f4632\",\"learned-knowledge_index.md\":\"50a05189\",\"index.md\":\"edec8890\",\"architecture.md\":\"d763e05b\",\"pitfalls.md\":\"fd549f21\",\"api.md\":\"0f656e56\",\"learned-knowledge_parts_app-options.md\":\"1cac923f\",\"get-started.md\":\"916a5cd1\",\"learned-knowledge_parts_application.md\":\"6360720c\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"PDF Viewer\",\"titleTemplate\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. Integrate the PDF Viewer to your project at ease!\",\"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="2023-12-08T11:33:47.000Z" data-v-4f9fb653></time></p></div></div><!----></footer><!--[--><!--]--></div></div></div><!--[--><!--]--></div></div><!----><!--[--><!--]--></div></div>
<script>window.__VP_HASH_MAP__=JSON.parse("{\"pitfalls.md\":\"fc51495a\",\"resources.md\":\"467c6bcc\",\"index.md\":\"e35ee589\",\"learned-knowledge_index.md\":\"75c5fa44\",\"architecture.md\":\"30e14d86\",\"learned-knowledge_parts_application.md\":\"887f8a0a\",\"get-started.md\":\"61ad4c99\",\"learned-knowledge_parts_events.md\":\"ef943a2d\",\"communication.md\":\"e7f2975c\",\"learned-knowledge_parts_app-options.md\":\"2ca2423b\",\"api.md\":\"751b7409\"}");window.__VP_SITE_DATA__=JSON.parse("{\"lang\":\"en-US\",\"dir\":\"ltr\",\"title\":\"PDF Viewer\",\"titleTemplate\":\"Free PDF Viewer build on PDF.js\",\"description\":\"The open source out-of-the-box PDF reader & viewer build on PDF.js. Integrate the PDF Viewer to your project at ease!\",\"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>
6 changes: 3 additions & 3 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.

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

Loading

0 comments on commit 7bdc421

Please sign in to comment.