@coreui/angular
Version:
CoreUI for Angular UI components library
31 lines (30 loc) • 1.23 kB
TypeScript
import { AfterViewInit, ChangeDetectorRef, OnDestroy } from '@angular/core';
import { CarouselService } from '../carousel.service';
import { BooleanInput } from '@angular/cdk/coercion';
import * as i0 from "@angular/core";
export declare class CarouselItemComponent implements OnDestroy, AfterViewInit {
private carouselService;
private changeDetectorRef;
static ngAcceptInputType_active: BooleanInput;
index?: number;
private carouselIndexSubscription?;
/**
* @ignore
*/
set active(value: boolean);
get active(): boolean;
private _active;
/**
* Time delay before cycling to next item. If -1, uses carousel interval value.
* @type number
* @default -1
*/
interval: number;
get hostClasses(): any;
constructor(carouselService: CarouselService, changeDetectorRef: ChangeDetectorRef);
ngOnDestroy(): void;
ngAfterViewInit(): void;
private carouselStateSubscribe;
static ɵfac: i0.ɵɵFactoryDeclaration<CarouselItemComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<CarouselItemComponent, "c-carousel-item", never, { "active": "active"; "interval": "interval"; }, {}, never, ["*"], false>;
}