@tobyt/expo-pdf-markup 1.1.3 → 1.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/android/src/main/java/dev/terhoeven/expopdfmarkup/AnnotationSerializer.kt +7 -1
- package/ios/AnnotationSerializer.swift +36 -7
- package/ios/ExpoPdfMarkupView+Ink.swift +10 -2
- package/ios/ExpoPdfMarkupView+Move.swift +3 -4
- package/ios/ExpoPdfMarkupView.swift +3 -4
- package/ios/Tests/AnnotationSerializerTests.swift +0 -22
- package/metro.js +32 -14
- package/package.json +2 -2
- package/docs/.nojekyll +0 -1
- package/docs/assets/hierarchy.js +0 -1
- package/docs/assets/highlight.css +0 -113
- package/docs/assets/icons.js +0 -18
- package/docs/assets/icons.svg +0 -1
- package/docs/assets/main.js +0 -60
- package/docs/assets/navigation.js +0 -1
- package/docs/assets/search.js +0 -1
- package/docs/assets/style.css +0 -1648
- package/docs/functions/ExpoPdfMarkupView.html +0 -42
- package/docs/functions/setPdfJsWorkerSrc.html +0 -42
- package/docs/hierarchy.html +0 -29
- package/docs/index.html +0 -148
- package/docs/modules.html +0 -40
- package/docs/types/Annotation.html +0 -33
- package/docs/types/AnnotationBounds.html +0 -73
- package/docs/types/AnnotationMode.html +0 -33
- package/docs/types/AnnotationPoint.html +0 -61
- package/docs/types/AnnotationsData.html +0 -61
- package/docs/types/ExpoPdfMarkupViewProps.html +0 -184
- package/docs/types/HighlightAnnotation.html +0 -91
- package/docs/types/InkAnnotation.html +0 -91
- package/docs/types/StampAnnotation.html +0 -95
- package/docs/types/StampDefinition.html +0 -72
- package/docs/types/TextAnnotation.html +0 -110
- package/docs/types/TextInputRequest.html +0 -73
- package/docs/types/UnderlineAnnotation.html +0 -85
- package/ios/InkPDFAnnotation.swift +0 -45
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>ExpoPdfMarkupView | @tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
-
<li><a href="" aria-current="page">ExpoPdfMarkupView</a></li></ul>
|
|
12
|
-
<h1>Function ExpoPdfMarkupView</h1></div>
|
|
13
|
-
<section class="tsd-panel">
|
|
14
|
-
<ul class="tsd-signatures">
|
|
15
|
-
<li class="">
|
|
16
|
-
<div class="tsd-signature tsd-anchor-link" id="expopdfmarkupview"><span class="tsd-kind-call-signature">ExpoPdfMarkupView</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">__namedParameters</span><span class="tsd-signature-symbol">:</span> <a href="../types/ExpoPdfMarkupViewProps.html" class="tsd-signature-type tsd-kind-type-alias">ExpoPdfMarkupViewProps</a><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Element</span><a href="#expopdfmarkupview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
-
<div class="tsd-description">
|
|
18
|
-
<div class="tsd-parameters">
|
|
19
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
20
|
-
<ul class="tsd-parameter-list">
|
|
21
|
-
<li><span><span class="tsd-kind-parameter">__namedParameters</span>: <a href="../types/ExpoPdfMarkupViewProps.html" class="tsd-signature-type tsd-kind-type-alias">ExpoPdfMarkupViewProps</a></span></li></ul></div>
|
|
22
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Element</span></h4><aside class="tsd-sources">
|
|
23
|
-
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/tobyt42/expo-pdf-markup/blob/f632112f16a9c9695af79990482a3b51b32ac893/src/ExpoPdfMarkupView.tsx#L18">ExpoPdfMarkupView.tsx:18</a></li></ul></aside></div></li></ul></section></div>
|
|
25
|
-
<div class="col-sidebar">
|
|
26
|
-
<div class="page-menu">
|
|
27
|
-
<div class="tsd-navigation settings">
|
|
28
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
29
|
-
<h3>Settings</h3></summary>
|
|
30
|
-
<div class="tsd-accordion-details">
|
|
31
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
32
|
-
<ul id="tsd-filter-options">
|
|
33
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
34
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
35
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
36
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
37
|
-
<div class="site-menu">
|
|
38
|
-
<nav class="tsd-navigation"><a href="../modules.html">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
39
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
40
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
41
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
42
|
-
<div class="overlay"></div></body></html>
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>setPdfJsWorkerSrc | @tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
-
<li><a href="" aria-current="page">setPdfJsWorkerSrc</a></li></ul>
|
|
12
|
-
<h1>Function setPdfJsWorkerSrc</h1></div>
|
|
13
|
-
<section class="tsd-panel">
|
|
14
|
-
<ul class="tsd-signatures">
|
|
15
|
-
<li class="">
|
|
16
|
-
<div class="tsd-signature tsd-anchor-link" id="setpdfjsworkersrc"><span class="tsd-kind-call-signature">setPdfJsWorkerSrc</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">_url</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">void</span><a href="#setpdfjsworkersrc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></div>
|
|
17
|
-
<div class="tsd-description">
|
|
18
|
-
<div class="tsd-parameters">
|
|
19
|
-
<h4 class="tsd-parameters-title">Parameters</h4>
|
|
20
|
-
<ul class="tsd-parameter-list">
|
|
21
|
-
<li><span><span class="tsd-kind-parameter">_url</span>: <span class="tsd-signature-type">string</span></span></li></ul></div>
|
|
22
|
-
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources">
|
|
23
|
-
<ul>
|
|
24
|
-
<li>Defined in <a href="https://github.com/tobyt42/expo-pdf-markup/blob/f632112f16a9c9695af79990482a3b51b32ac893/src/pdfjs.ts#L2">pdfjs.ts:2</a></li></ul></aside></div></li></ul></section></div>
|
|
25
|
-
<div class="col-sidebar">
|
|
26
|
-
<div class="page-menu">
|
|
27
|
-
<div class="tsd-navigation settings">
|
|
28
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
29
|
-
<h3>Settings</h3></summary>
|
|
30
|
-
<div class="tsd-accordion-details">
|
|
31
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
32
|
-
<ul id="tsd-filter-options">
|
|
33
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
34
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
35
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
36
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
37
|
-
<div class="site-menu">
|
|
38
|
-
<nav class="tsd-navigation"><a href="../modules.html">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
39
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
40
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
41
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
42
|
-
<div class="overlay"></div></body></html>
|
package/docs/hierarchy.html
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<h1>@tobyt/expo-pdf-markup - v1.1.1</h1></div>
|
|
11
|
-
<h2>Hierarchy Summary</h2></div>
|
|
12
|
-
<div class="col-sidebar">
|
|
13
|
-
<div class="page-menu">
|
|
14
|
-
<div class="tsd-navigation settings">
|
|
15
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
16
|
-
<h3>Settings</h3></summary>
|
|
17
|
-
<div class="tsd-accordion-details">
|
|
18
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
19
|
-
<ul id="tsd-filter-options">
|
|
20
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
21
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
22
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
23
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
24
|
-
<div class="site-menu">
|
|
25
|
-
<nav class="tsd-navigation"><a href="modules.html">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
26
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
27
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
28
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
29
|
-
<div class="overlay"></div></body></html>
|
package/docs/index.html
DELETED
|
@@ -1,148 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<h1>@tobyt/expo-pdf-markup - v1.1.1</h1></div>
|
|
11
|
-
<div class="tsd-panel tsd-typography"><h1 id="tobytexpo-pdf-markup" class="tsd-anchor-link">@tobyt/expo-pdf-markup<a href="#tobytexpo-pdf-markup" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h1>
|
|
12
|
-
<p><a href="https://www.npmjs.com/package/@tobyt/expo-pdf-markup"><img src="https://img.shields.io/npm/v/@tobyt/expo-pdf-markup.svg" alt="npm version"></a>
|
|
13
|
-
<a href="https://www.npmjs.com/package/@tobyt/expo-pdf-markup"><img src="https://img.shields.io/npm/dw/@tobyt/expo-pdf-markup.svg" alt="npm downloads"></a>
|
|
14
|
-
<a href="https://github.com/tobyt42/expo-pdf-markup/blob/main/LICENSE"><img src="https://img.shields.io/npm/l/@tobyt/expo-pdf-markup.svg" alt="license"></a>
|
|
15
|
-
<a href="https://www.typescriptlang.org/"><img src="https://img.shields.io/badge/TypeScript-strict-blue.svg" alt="TypeScript"></a></p>
|
|
16
|
-
<p>An Expo module for displaying and annotating PDFs, with support for iOS, Android, and Web.</p>
|
|
17
|
-
<p><strong><a href="https://tobyt42.github.io/expo-pdf-markup/api/">📖 API Reference</a></strong> · <strong><a href="https://tobyt42.github.io/expo-pdf-markup/example/">🚀 Example App</a></strong></p>
|
|
18
|
-
<h2 id="platform-support" class="tsd-anchor-link">Platform support<a href="#platform-support" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
19
|
-
<table>
|
|
20
|
-
<thead>
|
|
21
|
-
<tr>
|
|
22
|
-
<th>Platform</th>
|
|
23
|
-
<th>PDF rendering</th>
|
|
24
|
-
<th>Annotations</th>
|
|
25
|
-
</tr>
|
|
26
|
-
</thead>
|
|
27
|
-
<tbody>
|
|
28
|
-
<tr>
|
|
29
|
-
<td>iOS</td>
|
|
30
|
-
<td>✅</td>
|
|
31
|
-
<td>✅</td>
|
|
32
|
-
</tr>
|
|
33
|
-
<tr>
|
|
34
|
-
<td>Android</td>
|
|
35
|
-
<td>✅</td>
|
|
36
|
-
<td>✅</td>
|
|
37
|
-
</tr>
|
|
38
|
-
<tr>
|
|
39
|
-
<td>Web</td>
|
|
40
|
-
<td>✅</td>
|
|
41
|
-
<td>✅</td>
|
|
42
|
-
</tr>
|
|
43
|
-
</tbody>
|
|
44
|
-
</table>
|
|
45
|
-
<h2 id="installation" class="tsd-anchor-link">Installation<a href="#installation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
46
|
-
<pre><code class="sh"><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">@tobyt/expo-pdf-markup</span>
|
|
47
|
-
</code><button type="button">Copy</button></pre>
|
|
48
|
-
|
|
49
|
-
<h3 id="ios" class="tsd-anchor-link">iOS<a href="#ios" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
50
|
-
<pre><code class="sh"><span class="hl-0">npx</span><span class="hl-1"> </span><span class="hl-2">pod-install</span>
|
|
51
|
-
</code><button type="button">Copy</button></pre>
|
|
52
|
-
|
|
53
|
-
<h3 id="web" class="tsd-anchor-link">Web<a href="#web" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
54
|
-
<p>Web rendering uses <a href="https://github.com/mozilla/pdfjs-dist">pdfjs-dist</a>. Install it as a dependency:</p>
|
|
55
|
-
<pre><code class="sh"><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">install</span><span class="hl-1"> </span><span class="hl-2">pdfjs-dist</span>
|
|
56
|
-
</code><button type="button">Copy</button></pre>
|
|
57
|
-
|
|
58
|
-
<p>Then add the Metro config plugin to your <code>metro.config.js</code>:</p>
|
|
59
|
-
<pre><code class="js"><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">getDefaultConfig</span><span class="hl-1"> } = </span><span class="hl-0">require</span><span class="hl-1">(</span><span class="hl-2">'expo/metro-config'</span><span class="hl-1">);</span><br/><span class="hl-3">const</span><span class="hl-1"> { </span><span class="hl-4">withPdfMarkup</span><span class="hl-1"> } = </span><span class="hl-0">require</span><span class="hl-1">(</span><span class="hl-2">'@tobyt/expo-pdf-markup/metro'</span><span class="hl-1">);</span><br/><br/><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">config</span><span class="hl-1"> = </span><span class="hl-0">getDefaultConfig</span><span class="hl-1">(</span><span class="hl-5">__dirname</span><span class="hl-1">);</span><br/><span class="hl-6">module</span><span class="hl-1">.</span><span class="hl-6">exports</span><span class="hl-1"> = </span><span class="hl-0">withPdfMarkup</span><span class="hl-1">(</span><span class="hl-5">config</span><span class="hl-1">);</span>
|
|
60
|
-
</code><button type="button">Copy</button></pre>
|
|
61
|
-
|
|
62
|
-
<p><code>withPdfMarkup</code> does two things automatically:</p>
|
|
63
|
-
<ol>
|
|
64
|
-
<li><strong>Patches <code>import.meta</code></strong> in pdfjs-dist so Metro can bundle it (pdfjs-dist v4 uses ESM syntax in a Node.js-only code path that is otherwise unreachable in a browser).</li>
|
|
65
|
-
<li><strong>Copies the pdfjs worker</strong> to <code>public/pdf.worker.min.mjs</code> in your project root so it is served alongside your app (same-origin, no CORS issues). The default worker URL is <code>./pdf.worker.min.mjs</code> (relative to the page), so it works whether your app is hosted at the root or a sub-path.</li>
|
|
66
|
-
</ol>
|
|
67
|
-
<p>The <code>public/pdf.worker.min.mjs</code> file is regenerated on each Metro start if missing, so you can add it to <code>.gitignore</code>:</p>
|
|
68
|
-
<pre><code><span class="hl-5">public</span><span class="hl-1">/</span><span class="hl-5">pdf</span><span class="hl-1">.</span><span class="hl-5">worker</span><span class="hl-1">.</span><span class="hl-5">min</span><span class="hl-1">.</span><span class="hl-5">mjs</span>
|
|
69
|
-
</code><button>Copy</button></pre>
|
|
70
|
-
|
|
71
|
-
<h4 id="using-a-different-worker-url" class="tsd-anchor-link">Using a different worker URL<a href="#using-a-different-worker-url" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4>
|
|
72
|
-
<p>If you are not using Metro (e.g. Webpack or a custom CDN), set the worker URL before mounting the view:</p>
|
|
73
|
-
<pre><code class="ts"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-5">setPdfJsWorkerSrc</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'@tobyt/expo-pdf-markup'</span><span class="hl-1">;</span><br/><br/><span class="hl-0">setPdfJsWorkerSrc</span><span class="hl-1">(</span><span class="hl-2">'https://your-cdn.example.com/pdf.worker.min.mjs'</span><span class="hl-1">);</span>
|
|
74
|
-
</code><button type="button">Copy</button></pre>
|
|
75
|
-
|
|
76
|
-
<h4 id="asset-loading-on-web" class="tsd-anchor-link">Asset loading on web<a href="#asset-loading-on-web" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h4>
|
|
77
|
-
<p><code>expo-asset</code> returns a full URL on web (<code>https://…</code> or <code>http://…</code>), not a local path. Pass it directly to <code>source</code> — pdfjs accepts URLs:</p>
|
|
78
|
-
<pre><code class="ts"><span class="hl-8">// asset.localUri on web is already a URL; the .replace() is a no-op</span><br/><span class="hl-0">setPdfPath</span><span class="hl-1">(</span><span class="hl-5">asset</span><span class="hl-1">.</span><span class="hl-5">localUri</span><span class="hl-1">.</span><span class="hl-0">replace</span><span class="hl-1">(</span><span class="hl-2">'file://'</span><span class="hl-1">, </span><span class="hl-2">''</span><span class="hl-1">));</span>
|
|
79
|
-
</code><button type="button">Copy</button></pre>
|
|
80
|
-
|
|
81
|
-
<h2 id="usage" class="tsd-anchor-link">Usage<a href="#usage" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
82
|
-
<p>Full API reference is available at <strong><a href="https://tobyt42.github.io/expo-pdf-markup/api/types/ExpoPdfMarkupViewProps.html">tobyt42.github.io/expo-pdf-markup</a></strong>.</p>
|
|
83
|
-
<pre><code class="tsx"><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-5">ExpoPdfMarkupView</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'@tobyt/expo-pdf-markup'</span><span class="hl-1">;</span><br/><span class="hl-7">import</span><span class="hl-1"> </span><span class="hl-7">type</span><span class="hl-1"> { </span><span class="hl-5">AnnotationMode</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'@tobyt/expo-pdf-markup'</span><span class="hl-1">;</span><br/><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-5">Asset</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'expo-asset'</span><span class="hl-1">;</span><br/><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-5">useEffect</span><span class="hl-1">, </span><span class="hl-5">useState</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'react'</span><span class="hl-1">;</span><br/><span class="hl-7">import</span><span class="hl-1"> { </span><span class="hl-5">StyleSheet</span><span class="hl-1"> } </span><span class="hl-7">from</span><span class="hl-1"> </span><span class="hl-2">'react-native'</span><span class="hl-1">;</span><br/><br/><span class="hl-7">export</span><span class="hl-1"> </span><span class="hl-7">default</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-0">App</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> [</span><span class="hl-4">pdfPath</span><span class="hl-1">, </span><span class="hl-4">setPdfPath</span><span class="hl-1">] = </span><span class="hl-0">useState</span><span class="hl-1"><</span><span class="hl-6">string</span><span class="hl-1"> | </span><span class="hl-6">null</span><span class="hl-1">>(</span><span class="hl-3">null</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> [</span><span class="hl-4">annotations</span><span class="hl-1">, </span><span class="hl-4">setAnnotations</span><span class="hl-1">] = </span><span class="hl-0">useState</span><span class="hl-1">(</span><span class="hl-4">JSON</span><span class="hl-1">.</span><span class="hl-0">stringify</span><span class="hl-1">({ </span><span class="hl-5">version:</span><span class="hl-1"> </span><span class="hl-9">1</span><span class="hl-1">, </span><span class="hl-5">annotations:</span><span class="hl-1"> [] }));</span><br/><br/><span class="hl-1"> </span><span class="hl-0">useEffect</span><span class="hl-1">(() </span><span class="hl-3">=></span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-3">async</span><span class="hl-1"> </span><span class="hl-3">function</span><span class="hl-1"> </span><span class="hl-0">preparePdf</span><span class="hl-1">() {</span><br/><span class="hl-1"> </span><span class="hl-3">const</span><span class="hl-1"> </span><span class="hl-4">asset</span><span class="hl-1"> = </span><span class="hl-5">Asset</span><span class="hl-1">.</span><span class="hl-0">fromModule</span><span class="hl-1">(</span><span class="hl-0">require</span><span class="hl-1">(</span><span class="hl-2">'./assets/document.pdf'</span><span class="hl-1">));</span><br/><span class="hl-1"> </span><span class="hl-7">await</span><span class="hl-1"> </span><span class="hl-5">asset</span><span class="hl-1">.</span><span class="hl-0">downloadAsync</span><span class="hl-1">();</span><br/><span class="hl-1"> </span><span class="hl-7">if</span><span class="hl-1"> (</span><span class="hl-5">asset</span><span class="hl-1">.</span><span class="hl-5">localUri</span><span class="hl-1">) </span><span class="hl-0">setPdfPath</span><span class="hl-1">(</span><span class="hl-5">asset</span><span class="hl-1">.</span><span class="hl-5">localUri</span><span class="hl-1">.</span><span class="hl-0">replace</span><span class="hl-1">(</span><span class="hl-2">'file://'</span><span class="hl-1">, </span><span class="hl-2">''</span><span class="hl-1">));</span><br/><span class="hl-1"> }</span><br/><span class="hl-1"> </span><span class="hl-0">preparePdf</span><span class="hl-1">();</span><br/><span class="hl-1"> }, []);</span><br/><br/><span class="hl-1"> </span><span class="hl-7">if</span><span class="hl-1"> (!</span><span class="hl-5">pdfPath</span><span class="hl-1">) </span><span class="hl-7">return</span><span class="hl-1"> </span><span class="hl-3">null</span><span class="hl-1">;</span><br/><br/><span class="hl-1"> </span><span class="hl-7">return</span><span class="hl-1"> (</span><br/><span class="hl-1"> </span><span class="hl-10"><</span><span class="hl-6">ExpoPdfMarkupView</span><br/><span class="hl-1"> </span><span class="hl-11">source</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-5">pdfPath</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">style</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-5">StyleSheet</span><span class="hl-12">.</span><span class="hl-5">absoluteFill</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">annotationMode</span><span class="hl-1">=</span><span class="hl-2">"ink"</span><br/><span class="hl-1"> </span><span class="hl-11">annotationColor</span><span class="hl-1">=</span><span class="hl-2">"#FF0000"</span><br/><span class="hl-1"> </span><span class="hl-11">annotationLineWidth</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-9">3</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">annotations</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-5">annotations</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">onLoadComplete</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-12">({ </span><span class="hl-5">nativeEvent</span><span class="hl-12">: { </span><span class="hl-5">pageCount</span><span class="hl-12"> } }) </span><span class="hl-3">=></span><span class="hl-12"> </span><span class="hl-5">console</span><span class="hl-12">.</span><span class="hl-0">log</span><span class="hl-12">(</span><span class="hl-2">`Loaded </span><span class="hl-3">${</span><span class="hl-5">pageCount</span><span class="hl-3">}</span><span class="hl-2"> pages`</span><span class="hl-12">)</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">onPageChanged</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-12">({ </span><span class="hl-5">nativeEvent</span><span class="hl-12">: { </span><span class="hl-5">page</span><span class="hl-12">, </span><span class="hl-5">pageCount</span><span class="hl-12">, </span><span class="hl-5">pageWidth</span><span class="hl-12">, </span><span class="hl-5">pageHeight</span><span class="hl-12"> } }) </span><span class="hl-3">=></span><br/><span class="hl-12"> </span><span class="hl-5">console</span><span class="hl-12">.</span><span class="hl-0">log</span><span class="hl-12">(</span><span class="hl-2">`Page </span><span class="hl-3">${</span><span class="hl-5">page</span><span class="hl-12"> </span><span class="hl-1">+</span><span class="hl-12"> </span><span class="hl-9">1</span><span class="hl-3">}</span><span class="hl-2"> of </span><span class="hl-3">${</span><span class="hl-5">pageCount</span><span class="hl-3">}</span><span class="hl-2"> (</span><span class="hl-3">${</span><span class="hl-5">pageWidth</span><span class="hl-3">}</span><span class="hl-2">×</span><span class="hl-3">${</span><span class="hl-5">pageHeight</span><span class="hl-3">}</span><span class="hl-2">pt)`</span><span class="hl-12">)</span><br/><span class="hl-12"> </span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">onAnnotationsChanged</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-12">({ </span><span class="hl-5">nativeEvent</span><span class="hl-12"> }) </span><span class="hl-3">=></span><span class="hl-12"> </span><span class="hl-0">setAnnotations</span><span class="hl-12">(</span><span class="hl-5">nativeEvent</span><span class="hl-12">.</span><span class="hl-5">annotations</span><span class="hl-12">)</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-11">onError</span><span class="hl-1">=</span><span class="hl-3">{</span><span class="hl-12">({ </span><span class="hl-5">nativeEvent</span><span class="hl-12">: { </span><span class="hl-5">message</span><span class="hl-12"> } }) </span><span class="hl-3">=></span><span class="hl-12"> </span><span class="hl-5">console</span><span class="hl-12">.</span><span class="hl-0">error</span><span class="hl-12">(</span><span class="hl-5">message</span><span class="hl-12">)</span><span class="hl-3">}</span><br/><span class="hl-1"> </span><span class="hl-10">/></span><br/><span class="hl-1"> );</span><br/><span class="hl-1">}</span>
|
|
84
|
-
</code><button type="button">Copy</button></pre>
|
|
85
|
-
|
|
86
|
-
<h3 id="custom-text-input-ui" class="tsd-anchor-link">Custom text input UI<a href="#custom-text-input-ui" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h3>
|
|
87
|
-
<p>If you provide <code>onTextInputRequested</code>, the built-in native prompt is skipped and your callback is
|
|
88
|
-
used instead. The callback receives a request object with <code>mode</code>, <code>page</code>, <code>point</code>, and
|
|
89
|
-
<code>currentText</code> for edit flows, so you can prefill your own UI when the user taps an existing text
|
|
90
|
-
annotation while the text tool is active.</p>
|
|
91
|
-
<h2 id="development" class="tsd-anchor-link">Development<a href="#development" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
92
|
-
<p>This module uses the <a href="https://docs.expo.dev/modules/overview/">Expo Modules API</a>. The <code>example</code> directory contains a test app.</p>
|
|
93
|
-
<pre><code class="sh"><span class="hl-8"># Build the module</span><br/><span class="hl-0">npm</span><span class="hl-1"> </span><span class="hl-2">run</span><span class="hl-1"> </span><span class="hl-2">build</span><br/><br/><span class="hl-8"># Run the example app</span><br/><span class="hl-0">cd</span><span class="hl-1"> </span><span class="hl-2">example</span><br/><span class="hl-0">npx</span><span class="hl-1"> </span><span class="hl-2">expo</span><span class="hl-1"> </span><span class="hl-2">start</span>
|
|
94
|
-
</code><button type="button">Copy</button></pre>
|
|
95
|
-
|
|
96
|
-
<h2 id="core-team" class="tsd-anchor-link">Core Team<a href="#core-team" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
97
|
-
<table>
|
|
98
|
-
<tr>
|
|
99
|
-
<td align="center"><a href="https://github.com/tobyt42"><img src="https://avatars.githubusercontent.com/u/1678364?v=4" width="100px;" alt=""/><br /><sub><b>Toby Terhoeven</b></sub></a><br /></td>
|
|
100
|
-
</tr>
|
|
101
|
-
</table>
|
|
102
|
-
<h2 id="used-by" class="tsd-anchor-link">Used by<a href="#used-by" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
103
|
-
<ul>
|
|
104
|
-
<li><a href="https://www.thechoirapp.com">Choir</a> — a choir practice app for iOS, Android and Web</li>
|
|
105
|
-
</ul>
|
|
106
|
-
<h2 id="license" class="tsd-anchor-link">License<a href="#license" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2>
|
|
107
|
-
<p>MIT</p>
|
|
108
|
-
</div></div>
|
|
109
|
-
<div class="col-sidebar">
|
|
110
|
-
<div class="page-menu">
|
|
111
|
-
<div class="tsd-navigation settings">
|
|
112
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
113
|
-
<h3>Settings</h3></summary>
|
|
114
|
-
<div class="tsd-accordion-details">
|
|
115
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
116
|
-
<ul id="tsd-filter-options">
|
|
117
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
118
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
119
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
120
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
121
|
-
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
122
|
-
<h3>On This Page</h3></summary>
|
|
123
|
-
<div class="tsd-accordion-details"><a href="#tobytexpo-pdf-markup"><span>@tobyt/expo-<wbr/>pdf-<wbr/>markup</span></a>
|
|
124
|
-
<ul>
|
|
125
|
-
<li><a href="#platform-support"><span>Platform support</span></a></li>
|
|
126
|
-
<li><a href="#installation"><span>Installation</span></a></li>
|
|
127
|
-
<li>
|
|
128
|
-
<ul>
|
|
129
|
-
<li><a href="#ios"><span>i<wbr/>OS</span></a></li>
|
|
130
|
-
<li><a href="#web"><span>Web</span></a></li>
|
|
131
|
-
<li>
|
|
132
|
-
<ul>
|
|
133
|
-
<li><a href="#using-a-different-worker-url"><span>Using a different worker <wbr/>URL</span></a></li>
|
|
134
|
-
<li><a href="#asset-loading-on-web"><span>Asset loading on web</span></a></li></ul></li></ul></li>
|
|
135
|
-
<li><a href="#usage"><span>Usage</span></a></li>
|
|
136
|
-
<li>
|
|
137
|
-
<ul>
|
|
138
|
-
<li><a href="#custom-text-input-ui"><span>Custom text input <wbr/>UI</span></a></li></ul></li>
|
|
139
|
-
<li><a href="#development"><span>Development</span></a></li>
|
|
140
|
-
<li><a href="#core-team"><span>Core <wbr/>Team</span></a></li>
|
|
141
|
-
<li><a href="#used-by"><span>Used by</span></a></li>
|
|
142
|
-
<li><a href="#license"><span>License</span></a></li></ul></div></details></div>
|
|
143
|
-
<div class="site-menu">
|
|
144
|
-
<nav class="tsd-navigation"><a href="modules.html">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
145
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
146
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
147
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
148
|
-
<div class="overlay"></div></body></html>
|
package/docs/modules.html
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="./"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>@tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="assets/style.css"/><link rel="stylesheet" href="assets/highlight.css"/><script defer src="assets/main.js"></script><script async src="assets/icons.js" id="tsd-icons-script"></script><script async src="assets/search.js" id="tsd-search-script"></script><script async src="assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<ul class="tsd-breadcrumb" aria-label="Breadcrumb"></ul>
|
|
11
|
-
<h1>@tobyt/expo-pdf-markup - v1.1.1</h1></div>
|
|
12
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Type Aliases"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
13
|
-
<h2 class="tsd-anchor-link" id="type-aliases">Type Aliases<a href="#type-aliases" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="annotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/Annotation.html">Annotation</a><a href="#annotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="annotationbounds"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/AnnotationBounds.html">AnnotationBounds</a><a href="#annotationbounds" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="annotationmode"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/AnnotationMode.html">AnnotationMode</a><a href="#annotationmode" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="annotationpoint"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/AnnotationPoint.html">AnnotationPoint</a><a href="#annotationpoint" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="annotationsdata"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/AnnotationsData.html">AnnotationsData</a><a href="#annotationsdata" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="expopdfmarkupviewprops"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/ExpoPdfMarkupViewProps.html">ExpoPdfMarkupViewProps</a><a href="#expopdfmarkupviewprops" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="highlightannotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/HighlightAnnotation.html">HighlightAnnotation</a><a href="#highlightannotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="inkannotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/InkAnnotation.html">InkAnnotation</a><a href="#inkannotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="stampannotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/StampAnnotation.html">StampAnnotation</a><a href="#stampannotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="stampdefinition"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/StampDefinition.html">StampDefinition</a><a href="#stampdefinition" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="textannotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/TextAnnotation.html">TextAnnotation</a><a href="#textannotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="textinputrequest"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/TextInputRequest.html">TextInputRequest</a><a href="#textinputrequest" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="underlineannotation"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><a href="types/UnderlineAnnotation.html">UnderlineAnnotation</a><a href="#underlineannotation" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details>
|
|
14
|
-
<details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Functions"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
15
|
-
<h2 class="tsd-anchor-link" id="functions">Functions<a href="#functions" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></h2></summary><dl class="tsd-member-summaries"><dt class="tsd-member-summary" id="expopdfmarkupview"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="functions/ExpoPdfMarkupView.html">ExpoPdfMarkupView</a><a href="#expopdfmarkupview" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd><dt class="tsd-member-summary" id="setpdfjsworkersrc"><span class="tsd-member-summary-name"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><a href="functions/setPdfJsWorkerSrc.html">setPdfJsWorkerSrc</a><a href="#setpdfjsworkersrc" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24" aria-hidden="true"><use href="assets/icons.svg#icon-anchor"></use></svg></a></span></dt><dd class="tsd-member-summary"></dd></dl></details></div>
|
|
16
|
-
<div class="col-sidebar">
|
|
17
|
-
<div class="page-menu">
|
|
18
|
-
<div class="tsd-navigation settings">
|
|
19
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
-
<h3>Settings</h3></summary>
|
|
21
|
-
<div class="tsd-accordion-details">
|
|
22
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
-
<ul id="tsd-filter-options">
|
|
24
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
26
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
27
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div>
|
|
28
|
-
<details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>
|
|
29
|
-
<h3>On This Page</h3></summary>
|
|
30
|
-
<div class="tsd-accordion-details">
|
|
31
|
-
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Type Aliases"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Type Aliases</summary>
|
|
32
|
-
<div><a href="#annotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Annotation</span></a><a href="#annotationbounds"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Annotation<wbr/>Bounds</span></a><a href="#annotationmode"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Annotation<wbr/>Mode</span></a><a href="#annotationpoint"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Annotation<wbr/>Point</span></a><a href="#annotationsdata"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Annotations<wbr/>Data</span></a><a href="#expopdfmarkupviewprops"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Expo<wbr/>Pdf<wbr/>Markup<wbr/>View<wbr/>Props</span></a><a href="#highlightannotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Highlight<wbr/>Annotation</span></a><a href="#inkannotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Ink<wbr/>Annotation</span></a><a href="#stampannotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Stamp<wbr/>Annotation</span></a><a href="#stampdefinition"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Stamp<wbr/>Definition</span></a><a href="#textannotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Text<wbr/>Annotation</span></a><a href="#textinputrequest"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Text<wbr/>Input<wbr/>Request</span></a><a href="#underlineannotation"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Type Alias"><use href="assets/icons.svg#icon-2097152"></use></svg><span>Underline<wbr/>Annotation</span></a></div></details>
|
|
33
|
-
<details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="section-Functions"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="assets/icons.svg#icon-chevronDown"></use></svg>Functions</summary>
|
|
34
|
-
<div><a href="#expopdfmarkupview"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>Expo<wbr/>Pdf<wbr/>Markup<wbr/>View</span></a><a href="#setpdfjsworkersrc"><svg class="tsd-kind-icon" viewBox="0 0 24 24" aria-label="Function"><use href="assets/icons.svg#icon-64"></use></svg><span>set<wbr/>Pdf<wbr/>Js<wbr/>Worker<wbr/>Src</span></a></div></details></div></details></div>
|
|
35
|
-
<div class="site-menu">
|
|
36
|
-
<nav class="tsd-navigation"><a href="modules.html" class="current">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
37
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
38
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
39
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
40
|
-
<div class="overlay"></div></body></html>
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>Annotation | @tobyt/expo-pdf-markup - v1.1.1</title><meta name="description" content="Documentation for @tobyt/expo-pdf-markup"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar">
|
|
2
|
-
<div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
3
|
-
<div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/>
|
|
4
|
-
<ul role="listbox" id="tsd-search-results"></ul>
|
|
5
|
-
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
6
|
-
<div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header>
|
|
7
|
-
<div class="container container-main">
|
|
8
|
-
<div class="col-content">
|
|
9
|
-
<div class="tsd-page-title">
|
|
10
|
-
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
11
|
-
<li><a href="" aria-current="page">Annotation</a></li></ul>
|
|
12
|
-
<h1>Type Alias Annotation</h1></div>
|
|
13
|
-
<div class="tsd-signature"><span class="tsd-kind-type-alias">Annotation</span><span class="tsd-signature-symbol">:</span><br/> <span class="tsd-signature-symbol">|</span> <a href="InkAnnotation.html" class="tsd-signature-type tsd-kind-type-alias">InkAnnotation</a><br/> <span class="tsd-signature-symbol">|</span> <a href="HighlightAnnotation.html" class="tsd-signature-type tsd-kind-type-alias">HighlightAnnotation</a><br/> <span class="tsd-signature-symbol">|</span> <a href="UnderlineAnnotation.html" class="tsd-signature-type tsd-kind-type-alias">UnderlineAnnotation</a><br/> <span class="tsd-signature-symbol">|</span> <a href="TextAnnotation.html" class="tsd-signature-type tsd-kind-type-alias">TextAnnotation</a><br/> <span class="tsd-signature-symbol">|</span> <a href="StampAnnotation.html" class="tsd-signature-type tsd-kind-type-alias">StampAnnotation</a></div><aside class="tsd-sources">
|
|
14
|
-
<ul>
|
|
15
|
-
<li>Defined in <a href="https://github.com/tobyt42/expo-pdf-markup/blob/f632112f16a9c9695af79990482a3b51b32ac893/src/ExpoPdfMarkup.types.ts#L66">ExpoPdfMarkup.types.ts:66</a></li></ul></aside></div>
|
|
16
|
-
<div class="col-sidebar">
|
|
17
|
-
<div class="page-menu">
|
|
18
|
-
<div class="tsd-navigation settings">
|
|
19
|
-
<details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>
|
|
20
|
-
<h3>Settings</h3></summary>
|
|
21
|
-
<div class="tsd-accordion-details">
|
|
22
|
-
<div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span>
|
|
23
|
-
<ul id="tsd-filter-options">
|
|
24
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li>
|
|
25
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li>
|
|
26
|
-
<li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div>
|
|
27
|
-
<div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div>
|
|
28
|
-
<div class="site-menu">
|
|
29
|
-
<nav class="tsd-navigation"><a href="../modules.html">@tobyt/expo-pdf-markup - v1.1.1</a>
|
|
30
|
-
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
31
|
-
<li>Loading...</li></ul></nav></div></div></div><footer>
|
|
32
|
-
<p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer>
|
|
33
|
-
<div class="overlay"></div></body></html>
|