UNPKG

@empathyco/x-components

Version:
42 lines 1.5 kB
import type { ComponentPublicInstance } from 'vue'; import type { ScrollDirection } from '../../../components/scroll/scroll.types'; /** * Scrollable container that emits scroll related X Events. It exposes all the listeners * and props from the {@link BaseScroll} component. * * @public */ declare const _default: import("vue").DefineComponent<import("vue").ExtractPropTypes<{ /** * Id to identify the component. * * @public */ id: { type: StringConstructor; default: string; }; }>, { scrollRef: import("vue").Ref<ComponentPublicInstance | undefined, ComponentPublicInstance | undefined>; emitScrollAtEnd: (isAtEnd: boolean) => void; emitScrollAlmostAtEnd: (isAlmostAtEnd: boolean) => void; emitScrollAtStart: (isAtStart: boolean) => void; emitScrollDirectionChange: (direction: ScrollDirection) => void; emitScroll: (position: number) => void; }, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ /** * Id to identify the component. * * @public */ id: { type: StringConstructor; default: string; }; }>> & Readonly<{}>, { id: string; }, {}, { BaseScroll: import("vue").DefineComponent<{}, {}, any>; }, {}, string, import("vue").ComponentProvideOptions, true, {}, any>; export default _default; //# sourceMappingURL=scroll.vue?vue&type=script&lang.d.ts.map