UNPKG

aero-slider

Version:

A lightweight, CSS-first slider library for the modern web

11 lines (10 loc) • 477 B
import type { SliderInstance } from "./types.js"; export interface SyncThumbnailsOptions { /** Loop the thumbnail strip. Defaults to true. */ loop?: boolean; } /** * Links a thumbnail slider to a primary one: clicking a thumbnail navigates the * primary, and the strip follows the primary's active slide. Returns a teardown. */ export declare function syncThumbnails(primary: SliderInstance, thumbnails: SliderInstance, options?: SyncThumbnailsOptions): () => void;