UNPKG

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.

33 lines (32 loc) 2 kB
import { AfterViewInit, ElementRef, EventEmitter, OnChanges, OnDestroy, SimpleChanges, TemplateRef } from '@angular/core'; import { PdfShyButtonService } from '../../toolbar/pdf-shy-button/pdf-shy-button-service'; import { PDFNotificationService } from './../../pdf-notification-service'; import * as i0 from "@angular/core"; export declare class PdfSecondaryToolbarComponent implements OnChanges, AfterViewInit, OnDestroy { private element; notificationService: PDFNotificationService; private platformId; pdfShyButtonService: PdfShyButtonService; customSecondaryToolbar: TemplateRef<any> | undefined; secondaryToolbarTop: any; mobileFriendlyZoomScale: number; localizationInitialized: boolean; spreadChange: EventEmitter<"off" | "even" | "odd">; secondaryMenuIsEmpty: EventEmitter<boolean>; disablePreviousPage: boolean; disableNextPage: boolean; private classMutationObserver; constructor(element: ElementRef, notificationService: PDFNotificationService, platformId: Object, pdfShyButtonService: PdfShyButtonService); onPdfJsInit(): void; updateUIState(): void; onSpreadChange(newSpread: 'off' | 'odd' | 'even'): void; ngOnChanges(changes: SimpleChanges): void; onResize(): void; ngAfterViewInit(): void; ngOnDestroy(): void; checkVisibility(): void; private checkVisibilityRecursively; onClick(htmlevent: Event, action: undefined | (() => void), eventBusName?: string, closeOnClick?: boolean): void; static ɵfac: i0.ɵɵFactoryDeclaration<PdfSecondaryToolbarComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PdfSecondaryToolbarComponent, "pdf-secondary-toolbar", never, { "customSecondaryToolbar": "customSecondaryToolbar"; "secondaryToolbarTop": "secondaryToolbarTop"; "mobileFriendlyZoomScale": "mobileFriendlyZoomScale"; "localizationInitialized": "localizationInitialized"; }, { "spreadChange": "spreadChange"; "secondaryMenuIsEmpty": "secondaryMenuIsEmpty"; }, never, never>; }