@empathyco/x-components
Version:
Empathy X Components
78 lines (35 loc) • 974 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ScrollState](./x-components.scrollstate.md)
## ScrollState interface
Scroll store state.
**Signature:**
```typescript
export interface ScrollState
```
## Properties
<table><thead><tr><th>
Property
</th><th>
Modifiers
</th><th>
Type
</th><th>
Description
</th></tr></thead>
<tbody><tr><td>
[data](./x-components.scrollstate.data.md)
</td><td>
</td><td>
Dictionary<[ScrollComponentState](./x-components.scrollcomponentstate.md)<!-- -->>
</td><td>
State data of the scroll components.
</td></tr>
<tr><td>
[pendingScrollTo](./x-components.scrollstate.pendingscrollto.md)
</td><td>
</td><td>
string
</td><td>
The `[data-scroll]` value of the pending to restore scroll.
</td></tr>
</tbody></table>