import { OnDestroy, EventEmitter, ElementRef } from '@angular/core'; import { Subject } from 'rxjs'; export declare enum Direction { NONE = 0, NEXT = 1, PREV = 2 } /** * A slide component that usually holds an image and/or a caption text. * IgxSlideComponent is usually a child component of an IgxCarouselComponent. * * ``` * * * * ``` * * @export */ export declare class IgxSlideComponent implements OnDestroy { private elementRef; private _active; private _destroy$; /** * Gets/sets the `index` of the slide inside the carousel. * ```html * * * * ``` * @memberOf IgxSlideComponent */ index: number; /** * Gets/sets the target `direction` for the slide. * ```html * * * * ``` * @memberOf IgxSlideComponent */ direction: Direction; /** * Returns the `tabIndex` of the slide component. * ```typescript * let tabIndex = this.carousel.tabIndex; * ``` * @memberof IgxSlideComponent */ readonly tabIndex: number; /** * Returns the `aria-selected` of the slide. * * ```typescript * let slide = this.slide.ariaSelected; * ``` * */ readonly ariaSelected: boolean; /** * Returns the `aria-live` of the slide. * * ```typescript * let slide = this.slide.ariaLive; * ``` * */ readonly ariaLive: string; /** * Returns the class of the slide component. * ```typescript * let class = this.slide.cssClass; * ``` * @memberof IgxSlideComponent */ cssClass: string; /** * Gets/sets the `active` state of the slide. * ```html * * * * ``` * * Two-way data binding. * ```html * * * * ``` * @memberof IgxSlideComponent */ active: boolean; previous: boolean; /** *@hidden */ activeChange: EventEmitter; constructor(elementRef: ElementRef); /** * Returns a reference to the carousel element in the DOM. * ```typescript * let nativeElement = this.slide.nativeElement; * ``` * @memberof IgxSlideComponent */ readonly nativeElement: any; /** * @hidden */ readonly isDestroyed: Subject; /** * @hidden */ ngOnDestroy(): void; }