UNPKG

@empathyco/x-components

Version:
33 lines (27 loc) 1.19 kB
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [Scroll](./x-components.scroll.md) ## Scroll variable Scrollable container that emits scroll related X Events. It exposes all the listeners and props from the [BaseScroll](./x-components.basescroll.md) component. **Signature:** ```typescript _default: import("vue").DefineComponent<{ id: { type: StringConstructor; default: string; }; }, { scrollRef: import("vue").Ref<ComponentPublicInstance | undefined>; emitScrollAtEnd: (isAtEnd: boolean) => void; emitScrollAlmostAtEnd: (isAlmostAtEnd: boolean) => void; emitScrollAtStart: (isAtStart: boolean) => void; emitScrollDirectionChange: (direction: ScrollDirection) => void; emitScroll: (position: number) => void; }, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{ id: { type: StringConstructor; default: string; }; }>>, { id: string; }, {}> ```