ngx-extended-pdf-viewer
Version:
Embedding PDF files in your Angular application. Highly configurable viewer including the toolbar, sidebar, and all the features you're used to.
26 lines (25 loc) • 650 B
TypeScript
export declare enum ScrollModeType {
vertical = 0,
horizontal = 1,
wrapped = 2
}
export declare enum SpreadModeType {
UNKNOWN = -1,
NONE = 0,
ODD = 1,
EVEN = 2
}
export declare type PageViewModeType = 'single' | 'book' | 'multiple' | 'infinite-scroll';
export interface ScrollModeChangedEvent {
mode: ScrollModeType;
}
export interface IPDFViewer {
currentPageLabel: string | undefined;
currentPageNumber: number;
currentScaleValue: string | number;
pagesRotation: 0 | 90 | 180 | 270;
removePageBorders: boolean;
scrollMode: ScrollModeType;
spreadMode: 0 | 1 | 2;
_pages: Array<any>;
}