@blossom-carousel/svelte
Version:
A native-scroll-first carousel component for Svelte.
9 lines (8 loc) • 355 B
TypeScript
import { type Readable } from "svelte/store";
import { type NavigationState as NavState } from "./vendor/navigation/index.js";
export type NavigationState = NavState;
export declare function createNavigationStore(forId: string): {
subscribe: Readable<NavigationState>["subscribe"];
connect: (forId: string) => void;
disconnect: () => void;
};