UNPKG

slider-carousel

Version:

Angular component of the carousel, using the slider as a transition. This is a simple, clean and light alternative. It also does not need dependencies.

26 lines (25 loc) 767 B
import { OnInit, ElementRef } from '@angular/core'; import { SafeValue } from '@angular/platform-browser'; export declare class SliderCarouselPreviewComponent implements OnInit { elRef: ElementRef<HTMLElement>; class: boolean; closedClass: boolean; imageUrl: SafeValue | string; loading: boolean; private img; private scaleRate; private modalRef; get width(): string; get height(): string; private get windowWidth(); private get windowHeight(); constructor(elRef: ElementRef<HTMLElement>); ngOnInit(): void; private loadImage; onImageChange(image: { [key: string]: any; }, fileName?: string): void; onKeydown(event: KeyboardEvent): void; onWindowResize(): void; close(): void; }