motion-plus-vue
Version:
Motion Plus Vue
32 lines (31 loc) • 1.24 kB
TypeScript
import { Transition } from 'motion-v';
import { TickerProps } from '../Ticker';
export interface CarouselProps extends Omit<TickerProps, 'velocity' | 'offset' | 'hoverFactor' | 'transition'> {
/**
* The snap type to use for the carousel while
* free-scrolling.
*
* - "page" - Snap to the next or previous page of items.
* - "loose" - Use normal scroll momentum, resting on the closest item to the natural scroll resting point.
* - false - No snapping.
*
* @default: "page"
*/
snap?: 'page' | 'loose' | false;
transition?: Transition;
}
declare const _default: __VLS_WithSlots<import('vue').DefineComponent<CarouselProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CarouselProps> & Readonly<{}>, {
transition: Transition;
loop: boolean;
snap: "page" | "loose" | false;
axis: "x" | "y";
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>, {
default?: ((props: {}) => any) | undefined;
after?: ((props: {}) => any) | undefined;
}>;
export default _default;
type __VLS_WithSlots<T, S> = T & {
new (): {
$slots: S;
};
};