UNPKG

673 BTypeScriptView Raw
1import { OnDestroy, OnInit } from '@angular/core';
2import { CarouselComponent } from './carousel.component';
3export declare class SlideComponent implements OnInit, OnDestroy {
4 /** Is current slide active */
5 active: boolean;
6 /** Wraps element by appropriate CSS classes */
7 addClass: boolean;
8 /** Link to Parent(container-collection) component */
9 protected carousel: CarouselComponent;
10 constructor(carousel: CarouselComponent);
11 /** Fires changes in container collection after adding a new slide instance */
12 ngOnInit(): void;
13 /** Fires changes in container collection after removing of this slide instance */
14 ngOnDestroy(): void;
15}