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.
20 lines (19 loc) • 1.2 kB
TypeScript
import { TemplateRef, ElementRef, EventEmitter, ChangeDetectorRef } from '@angular/core';
import { PdfThumbnailDrawnEvent } from '../../events/pdf-thumbnail-drawn-event';
import * as i0 from "@angular/core";
export declare class PdfSidebarComponent {
private elementRef;
private ref;
sidebarPositionTop: string | undefined;
sidebarVisible: boolean;
mobileFriendlyZoomScale: number;
showSidebarButton: boolean;
customSidebar: TemplateRef<any> | undefined;
customThumbnail: TemplateRef<any> | undefined;
thumbnailDrawn: EventEmitter<PdfThumbnailDrawnEvent>;
hideSidebarToolbar: boolean;
constructor(elementRef: ElementRef, ref: ChangeDetectorRef);
showToolbarWhenNecessary(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PdfSidebarComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<PdfSidebarComponent, "pdf-sidebar", never, { "sidebarPositionTop": "sidebarPositionTop"; "sidebarVisible": "sidebarVisible"; "mobileFriendlyZoomScale": "mobileFriendlyZoomScale"; "showSidebarButton": "showSidebarButton"; "customSidebar": "customSidebar"; "customThumbnail": "customThumbnail"; }, { "thumbnailDrawn": "thumbnailDrawn"; }, never, ["*"]>;
}