mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-20 15:18:08 +02:00
Export additional constants in the viewer components
In addition to the existing `LinkTarget` constant, used by the `PDFLinkService`-constructor, this patch exports the following constants in the viewer components: - `ScrollMode` and `SpreadMode`, since the `BaseViewer` has getters/setters which work with those constants. - `RenderingStates`, since that one may be helpful when using `PDFPageView` directly.
This commit is contained in:
parent
ab1297f053
commit
69462e5e14
1 changed files with 10 additions and 1 deletions
|
@ -24,7 +24,13 @@ import {
|
|||
PDFLinkService,
|
||||
SimpleLinkService,
|
||||
} from "./pdf_link_service.js";
|
||||
import { parseQueryString, ProgressBar } from "./ui_utils.js";
|
||||
import {
|
||||
parseQueryString,
|
||||
ProgressBar,
|
||||
RenderingStates,
|
||||
ScrollMode,
|
||||
SpreadMode,
|
||||
} from "./ui_utils.js";
|
||||
import { PDFSinglePageViewer, PDFViewer } from "./pdf_viewer.js";
|
||||
import { AnnotationLayerBuilder } from "./annotation_layer_builder.js";
|
||||
import { DownloadManager } from "./download_manager.js";
|
||||
|
@ -64,7 +70,10 @@ export {
|
|||
PDFSinglePageViewer,
|
||||
PDFViewer,
|
||||
ProgressBar,
|
||||
RenderingStates,
|
||||
ScrollMode,
|
||||
SimpleLinkService,
|
||||
SpreadMode,
|
||||
StructTreeLayerBuilder,
|
||||
TextLayerBuilder,
|
||||
XfaLayerBuilder,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue