@exadel/esl
Version:
Exadel Smart Library (ESL) is the lightweight custom elements library that provide a set of super-flexible components
34 lines (33 loc) • 1.4 kB
TypeScript
import { ESLMixinElement } from '../../esl-mixin-element/core';
import type { ESLCarousel } from './esl-carousel';
/**
* ESLCarouselSlide component
* @author Julia Murashko, Alexey Stsefanovich (ala'n)
*
* ESLCarouselSlide - a component that provides content for ESLCarousel {@link ESLCarousel}
*/
export declare class ESLCarouselSlide extends ESLMixinElement {
static is: string;
static observedAttributes: string[];
/** @returns slide index. */
get index(): number;
/** @returns whether the slide is active */
get active(): boolean;
/** @returns whether the slide is in pre-active state */
get preActive(): boolean;
/** @returns whether the slide is next in navigation */
get next(): boolean;
/** @returns whether the slide is previous in navigation*/
get prev(): boolean;
/** Class(-es) to add on carousel container when slide is active. Supports {@link CSSClassUtils} syntax */
containerClass: string;
get $carousel(): ESLCarousel | undefined;
protected connectedCallback(): void;
protected disconnectedCallback(): void;
protected attributeChangedCallback(attrName: string, oldVal: string, newVal: string): void;
/** Updates initial A11y attributes */
protected updateA11y(): void;
/** Updates A11y attributes related to active state */
updateActiveState(): void;
protected blurIfInactive(): void;
}