@empathyco/x-components
Version:
Empathy X Components
36 lines (30 loc) • 1.07 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [MainScrollItem](./x-components.mainscrollitem.md)
## MainScrollItem variable
Wrapper for elements contained in the [MainScroll](./x-components.mainscroll.md) that should store/restore its position.
**Signature:**
```typescript
_default: import("vue").DefineComponent<{
item: {
type: PropType<Identifiable>;
required: true;
};
tag: {
type: PropType<string | Component>;
default: string;
};
}, {
rootRef: Ref<HTMLElement | undefined>;
}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
item: {
type: PropType<Identifiable>;
required: true;
};
tag: {
type: PropType<string | Component>;
default: string;
};
}>>, {
tag: string | Component;
}, {}>
```