You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ Supported in all [major browsers](https://caniuse.com/custom-elementsv1), and wo
19
19
- Works with same-origin and cross-origin PDF documents
20
20
- Configure via attributes and URL parameters (page, zoom, search, pagemode, locale)
21
21
- Programmatic access to `PDFViewerApplication` via the `initPromise` public property
22
-
-Theme control (automatic/light/dark) plus custom CSS injection
22
+
-Built-in Paper & Ink default theme, with theme control (automatic/light/dark) and custom CSS injection
23
23
- Locale override support using PDF.js viewer locales
24
24
- Supports all modern browsers and most JS frameworks
25
25
@@ -89,6 +89,13 @@ The element is block-level and needs an explicit height.
89
89
|`locale-src-template`| Locale file URL template. Must contain `{locale}` placeholder. Used together with `locale`. |`https://cdn.jsdelivr.net/gh/mozilla-l10n/firefox-l10n@main/{locale}/toolkit/toolkit/pdfviewer/viewer.ftl`|
0 commit comments