<!-- 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<{}, {}, {}, {}, {}, {}, {}, {}, false, import("vue").ComponentOptionsBase<any, any, any, any, any, any, any, any, any, {}, {}, string, {}>, {}, {}> | 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;
}, {}>
```
