@tindtechnologies/universalviewer
Version:
The Universal Viewer is a community-developed open source project on a mission to help you share your 📚📜📰📽️📻🗿 with the 🌎
44 lines (43 loc) • 1.33 kB
TypeScript
import { CenterPanel } from "../uv-shared-module/CenterPanel";
import { IExternalResource } from "manifesto.js";
import { Config } from "../../extensions/uv-pdf-extension/config/Config";
export declare class PDFCenterPanel extends CenterPanel<Config["modules"]["pdfCenterPanel"]> {
private _$canvas;
private _$nextButton;
private _$pdfContainer;
private _$prevButton;
private _$progress;
private _$zoomInButton;
private _$zoomOutButton;
private _canvas;
private _ctx;
private _lastMediaUri;
private _nextButtonEnabled;
private _pageIndex;
private _pageIndexPending;
private _pageRendering;
private _pdfDoc;
private _pdfjsLib;
private _prevButtonEnabled;
private _renderTask;
private _scale;
private _viewport;
constructor($element: JQuery);
private _getDecreasedScale;
private _getIncreasedScale;
private _getMinScale;
private _getMaxScale;
create(): void;
disablePrevButton(): void;
enablePrevButton(): void;
hidePrevButton(): void;
showPrevButton(): void;
disableNextButton(): void;
enableNextButton(): void;
hideNextButton(): void;
showNextButton(): void;
openMedia(resources: IExternalResource[]): Promise<void>;
private _render;
private _queueRenderPage;
resize(): void;
}