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.
21 lines (20 loc) • 1.12 kB
TypeScript
import { TemplateRef, ElementRef, OnDestroy, EventEmitter } from '@angular/core';
import { PdfThumbnailDrawnEvent } from '../../../events/pdf-thumbnail-drawn-event';
import * as i0 from "@angular/core";
export declare class PdfSidebarContentComponent implements OnDestroy {
customThumbnail: TemplateRef<any> | undefined;
hideSidebarToolbar: boolean;
mobileFriendlyZoomScale: number;
thumbnailViewTemplate: ElementRef;
private linkService;
thumbnailDrawn: EventEmitter<PdfThumbnailDrawnEvent>;
get top(): string;
constructor();
ngOnDestroy(): void;
pdfThumbnailGeneratorReady(): boolean;
private createThumbnail;
private createElementFromHTML;
onKeyDown(event: KeyboardEvent): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PdfSidebarContentComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PdfSidebarContentComponent, "pdf-sidebar-content", never, { "customThumbnail": "customThumbnail"; "hideSidebarToolbar": "hideSidebarToolbar"; "mobileFriendlyZoomScale": "mobileFriendlyZoomScale"; }, { "thumbnailDrawn": "thumbnailDrawn"; }, never, ["*"]>;
}