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
@ -24,7 +24,13 @@ import {
|
|||||||
PDFLinkService,
|
PDFLinkService,
|
||||||
SimpleLinkService,
|
SimpleLinkService,
|
||||||
} from "./pdf_link_service.js";
|
} 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 { PDFSinglePageViewer, PDFViewer } from "./pdf_viewer.js";
|
||||||
import { AnnotationLayerBuilder } from "./annotation_layer_builder.js";
|
import { AnnotationLayerBuilder } from "./annotation_layer_builder.js";
|
||||||
import { DownloadManager } from "./download_manager.js";
|
import { DownloadManager } from "./download_manager.js";
|
||||||
@ -64,7 +70,10 @@ export {
|
|||||||
PDFSinglePageViewer,
|
PDFSinglePageViewer,
|
||||||
PDFViewer,
|
PDFViewer,
|
||||||
ProgressBar,
|
ProgressBar,
|
||||||
|
RenderingStates,
|
||||||
|
ScrollMode,
|
||||||
SimpleLinkService,
|
SimpleLinkService,
|
||||||
|
SpreadMode,
|
||||||
StructTreeLayerBuilder,
|
StructTreeLayerBuilder,
|
||||||
TextLayerBuilder,
|
TextLayerBuilder,
|
||||||
XfaLayerBuilder,
|
XfaLayerBuilder,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user