UNPKG

zorro-ext-subin

Version:
30 lines (29 loc) 770 B
/** * Created by giscafer on 2017/09/21. * 基于viewer.js封装 */ import { ElementRef, Renderer2 } from "@angular/core"; export declare class ViewerContentDirective { private _el; nativeElement: HTMLElement; constructor(_el: ElementRef); } export declare class YZTViewerDirective { private _elementRef; private _render; originalAttr: string; content: ElementRef; _imgContents: any; viewer: any; imgContents: any; nativeElement: HTMLElement; constructor(_elementRef: ElementRef, _render: Renderer2); ngOnInit(): void; /** * 如果img动态增加,则动态渲染 */ renderContent(): void; ngOnDestroy(): void; } export declare class YZTViewerDirectiveModule { }