UNPKG

motion-plus-vue

Version:

Motion Plus Vue

33 lines (32 loc) 1.57 kB
import { MotionValue, Transition } from 'motion-v'; import { Axis } from '../Ticker/types'; interface CarouselViewProps { offset: MotionValue<number>; targetOffset: MotionValue<number>; tugOffset: MotionValue<number>; loop?: boolean; transition?: Transition; axis?: Axis; snap?: 'page' | 'loose' | false; tickerRef?: HTMLDivElement; } declare const __VLS_ctx: InstanceType<__VLS_PickNotAny<typeof __VLS_self, new () => {}>>; declare var __VLS_1: {}; type __VLS_Slots = __VLS_PrettifyGlobal<__VLS_OmitStringIndex<typeof __VLS_ctx.$slots> & { default?: (props: typeof __VLS_1) => any; }>; declare const __VLS_self: import('vue').DefineComponent<CarouselViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CarouselViewProps> & Readonly<{}>, { snap: "page" | "loose" | false; axis: Axis; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const __VLS_component: import('vue').DefineComponent<CarouselViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<CarouselViewProps> & Readonly<{}>, { snap: "page" | "loose" | false; axis: Axis; }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>; declare const _default: __VLS_WithSlots<typeof __VLS_component, __VLS_Slots>; export default _default; type __VLS_WithSlots<T, S> = T & { new (): { $slots: S; }; };