interface / @typed/ui/Carousel

SlideOptions

Inputs accepted by Carousel.Slide in addition to the shared DOM host options.

Learn this UI primitive →

Package version
1.0.0-beta.7
Category
Slide content
Since
1.0.0

Import

import { SlideOptions } from "@typed/ui/Carousel";

Signatures

export interface SlideOptions extends Dom.HostOptions<HTMLDivElement> {
    readonly state: RefSubject.HydratedRefSubject<State, Schema.SchemaError>;
    readonly collection?: RefSubject.RefSubject<Collection.State<string>>;
    readonly id: string;
    readonly label: Renderable.Any<string | null | undefined>;
    readonly content: Renderable.Any;
}

Property: collection

Item registry used for collection-driven keyboard behavior and mounted ordering.

Property: content

Renderable child content for the component host.

Property: id

Stable id used for collection identity and ARIA relationships.

Property: label

Accessible label rendered through aria-label.

Property: state

Renderer-independent RefSubject state consumed by this component or operation.

Other public imports

These import paths expose the same declaration. Each page retains its own public name and signature.

Source