@yourwishes/carousel
Version:
A modern, flexible and performant carousel for the time concious developer.
57 lines • 1.33 kB
TypeScript
import { WithOptionsPartial } from "./types";
export declare type SliderOptions = typeof SLIDER_OPTIONS_DEFAULT;
export declare const SLIDER_OPTIONS_DEFAULT: {
vertical: boolean;
infinite: boolean;
snap: boolean;
edges: boolean;
classes: {
init: string;
grabbing: string;
visible: string;
target: string;
};
velocity: {
weight: number;
friction: number;
};
autoplay: {
enabled: boolean;
frequency: number;
};
properties: {
x: string;
y: string;
slideHeight: string;
slideWidth: string;
slide: string;
};
};
export declare const sliderOptionsWithDefaults: (params: WithOptionsPartial) => {
vertical: boolean;
infinite: boolean;
snap: boolean;
edges: boolean;
classes: {
init: string;
grabbing: string;
visible: string;
target: string;
};
velocity: {
weight: number;
friction: number;
};
autoplay: {
enabled: boolean;
frequency: number;
};
properties: {
x: string;
y: string;
slideHeight: string;
slideWidth: string;
slide: string;
};
};
//# sourceMappingURL=options.d.ts.map