UNPKG

ng-cw-v12

Version:

Angular UI Component Library

22 lines (21 loc) 929 B
import { OnChanges, SimpleChanges, AfterViewInit, OnDestroy } from '@angular/core'; import { SafeResourceUrl, DomSanitizer } from '@angular/platform-browser'; import * as i0 from "@angular/core"; export declare class PdfViewerComponent implements OnChanges, AfterViewInit, OnDestroy { private sanitizer; /** pdf文件地址 */ ncUrl: string; viewerUrl: SafeResourceUrl; objectUrl: SafeResourceUrl; useIframe: boolean; private messageListener; private errorSubject; constructor(sanitizer: DomSanitizer); ngOnChanges(changes: SimpleChanges): void; ngAfterViewInit(): void; ngOnDestroy(): void; private updateViewerUrls; private switchToObjectMode; static ɵfac: i0.ɵɵFactoryDeclaration<PdfViewerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PdfViewerComponent, "nc-pdf-viewer", never, { "ncUrl": "ncUrl"; }, {}, never, never>; }