UNPKG

ng-image-fullscreen-view

Version:

An Angular responsive image full screen viewer. Also support youtube and mp4 video urls, captures swipes from phones and tablets, Compatible with Angular Universal, Captures keyboard next/previous arrow.

22 lines (21 loc) 739 B
import { DomSanitizer, SafeResourceUrl } from '@angular/platform-browser'; import { NgImageFullscreenViewService } from '../ng-image-fullscreen-view.service'; export declare class SliderCustomImageComponent { imageFullscreenViewService: NgImageFullscreenViewService; private sanitizer; YOUTUBE: string; IMAGE: string; VIDEO: string; fileUrl: SafeResourceUrl; fileExtension: string; type: string; videoAutoPlay: boolean; showVideoControls: number; set imageUrl(url: any); isVideo: boolean; alt: String; title: String; direction: string; constructor(imageFullscreenViewService: NgImageFullscreenViewService, sanitizer: DomSanitizer); videoClickHandler(event: any): void; }