igniteui-webcomponents
Version:
Ignite UI for Web Components is a complete library of UI components, giving you the ability to build modern web applications using encapsulation and the concept of reusable components in a dependency-free approach.
41 lines (40 loc) • 1.31 kB
TypeScript
import { LitElement } from 'lit';
/**
* A single content container within a set of containers used in the context of an `igc-carousel`.
*
* @element igc-carousel-slide
*
* @slot Default slot for the carousel slide.
*/
export default class IgcCarouselSlideComponent extends LitElement {
static styles: import("lit").CSSResult;
static readonly tagName = "igc-carousel-slide";
static register(): void;
private readonly _internals;
private readonly _player;
private readonly _carousel?;
protected get _index(): number;
protected get _total(): number;
protected get _animation(): "fade" | "none" | "slideVer" | "slideHor";
protected get _labelFormat(): string;
/**
* The current active slide for the carousel component.
* @attr
*/
active: boolean;
previous: boolean;
/**
* @hidden @internal
* @deprecated since 5.4.0. Use Carousel's `select` method instead.
*/
toggleAnimation(type: 'in' | 'out', direction?: 'normal' | 'reverse'): Promise<boolean>;
protected willUpdate(): void;
/** @internal */
connectedCallback(): void;
protected render(): import("lit-html").TemplateResult<1>;
}
declare global {
interface HTMLElementTagNameMap {
'igc-carousel-slide': IgcCarouselSlideComponent;
}
}