UNPKG

ng-cw-v12

Version:

Angular UI Component Library

14 lines (13 loc) 604 B
import { ElementRef, OnChanges, SimpleChanges } from '@angular/core'; import * as i0 from "@angular/core"; export declare class TxtViewerComponent implements OnChanges { private eleRef; /** txt文件地址 */ ncUrl: string; constructor(eleRef: ElementRef); ngOnChanges(changes: SimpleChanges): void; renderTextDocument(): Promise<void>; private escapeHtml; static ɵfac: i0.ɵɵFactoryDeclaration<TxtViewerComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<TxtViewerComponent, "nc-txt-viewer", never, { "ncUrl": "ncUrl"; }, {}, never, never>; }