@blossom-carousel/svelte
Version:
A native-scroll-first carousel component for Svelte.
7 lines (6 loc) • 397 B
TypeScript
/** Registers the slide count for a carousel id. */
export declare function setSlideCount(id: string, count: number): void;
/** Returns the registered slide count for a carousel id, or 0 when unknown. */
export declare function getSlideCount(id: string): number;
/** Removes a carousel's entry (called when its render/lifetime ends). */
export declare function deleteSlideCount(id: string): void;