UNPKG

@herdwatch/ngx-ionic-image-viewer

Version:

The angular workspace to develop the ngx-ionic-image-viewer component

26 lines (25 loc) 1.69 kB
import { ElementRef, Renderer2, OnInit } from '@angular/core'; import { ModalController } from '@ionic/angular/standalone'; import * as i0 from "@angular/core"; export declare class NgxIonicImageViewerDirective implements OnInit { private el; private renderer; modalController: ModalController; constructor(el: ElementRef, renderer: Renderer2, modalController: ModalController); cssClass?: string | string[]; scheme?: string; slideOptions?: object; src: string; srcFallback?: string; srcHighRes?: string; swipeToClose?: boolean; text?: string; title?: string; titleSize?: string; onClick(): void; onError(): void; ngOnInit(): void; viewImage(src: string, srcFallback?: string, srcHighRes?: string, title?: string, titleSize?: string, text?: string, scheme?: string, slideOptions?: object, swipeToClose?: boolean): Promise<void>; static ɵfac: i0.ɵɵFactoryDeclaration<NgxIonicImageViewerDirective, never>; static ɵdir: i0.ɵɵDirectiveDeclaration<NgxIonicImageViewerDirective, "[ionImgViewer]", never, { "cssClass": { "alias": "cssClass"; "required": false; }; "scheme": { "alias": "scheme"; "required": false; }; "slideOptions": { "alias": "slideOptions"; "required": false; }; "src": { "alias": "src"; "required": false; }; "srcFallback": { "alias": "srcFallback"; "required": false; }; "srcHighRes": { "alias": "srcHighRes"; "required": false; }; "swipeToClose": { "alias": "swipeToClose"; "required": false; }; "text": { "alias": "text"; "required": false; }; "title": { "alias": "title"; "required": false; }; "titleSize": { "alias": "titleSize"; "required": false; }; }, {}, never, never, true, never>; }