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.
38 lines (37 loc) • 1.44 kB
TypeScript
import { OnInit, EventEmitter, OnChanges, SimpleChanges, TemplateRef, ElementRef, AfterViewInit, NgZone } from '@angular/core';
import { PDFNotificationService } from './../../pdf-notification-service';
export declare class PdfSecondaryToolbarComponent implements OnInit, OnChanges, AfterViewInit {
private element;
private notificationService;
private ngZone;
customSecondaryToolbar: TemplateRef<any>;
secondaryToolbarTop: any;
mobileFriendlyZoomScale: number;
showPresentationModeButton: boolean;
showOpenFileButton: boolean;
showPrintButton: boolean;
showDownloadButton: boolean;
showBookmarkButton: boolean;
showPagingButtons: boolean;
showRotateButton: boolean;
showHandToolButton: boolean;
showScrollingButton: boolean;
showSpreadButton: boolean;
showPropertiesButton: boolean;
spreadChange: EventEmitter<string>;
secondaryMenuIsEmpty: EventEmitter<boolean>;
disablePreviousPage: boolean;
disableNextPage: boolean;
constructor(element: ElementRef, notificationService: PDFNotificationService, ngZone: NgZone);
onPdfJsInit(): void;
updateUIState(): void;
onSpreadChange(newSpread: string): void;
ngOnChanges(changes: SimpleChanges): void;
onResize(): void;
ngAfterViewInit(): void;
ngOnInit(): void;
checkVisibility(): void;
private checkVisibilityRecursively;
previousPage(): void;
nextPage(): void;
}