UNPKG

@obliczeniowo/elementary

Version:
38 lines (34 loc) 1.73 kB
import * as i0 from '@angular/core'; import { OnInit, ElementRef, QueryList, TemplateRef } from '@angular/core'; import { Point2D } from '@obliczeniowo/elementary/classes'; import * as i2 from '@angular/common'; import * as i3 from '@obliczeniowo/elementary/buttons'; import * as i4 from '@obliczeniowo/elementary/icons'; declare class PerspectiveSliderComponent implements OnInit { protected elementRef: ElementRef<HTMLElement>; /** Templates to display aliments */ templates: QueryList<TemplateRef<any>>; protected height: number; protected startIndex: number; protected offset: Point2D; protected time: any; protected move: Point2D; protected dh: number; protected angle: number; constructor(elementRef: ElementRef<HTMLElement>); ngOnInit(): void; ngAfterViewChecked(): void; ngOnDestroy(): void; protected inRange(index: number): boolean; protected add(offset: number): void; protected animation(): void; protected opacity(index: number): number; static ɵfac: i0.ɵɵFactoryDeclaration<PerspectiveSliderComponent, never>; static ɵcmp: i0.ɵɵComponentDeclaration<PerspectiveSliderComponent, "obl-perspective-slider", never, {}, {}, ["templates"], ["*"], false, never>; } declare class PerspectiveSliderModule { static ɵfac: i0.ɵɵFactoryDeclaration<PerspectiveSliderModule, never>; static ɵmod: i0.ɵɵNgModuleDeclaration<PerspectiveSliderModule, [typeof PerspectiveSliderComponent], [typeof i2.CommonModule, typeof i3.ButtonsModule, typeof i4.IconsModule], [typeof PerspectiveSliderComponent]>; static ɵinj: i0.ɵɵInjectorDeclaration<PerspectiveSliderModule>; } export { PerspectiveSliderComponent, PerspectiveSliderModule };