@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 886 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [ScrollMutations](./x-components.scrollmutations.md)
## ScrollMutations interface
Scroll store mutations.
**Signature:**
```typescript
export interface ScrollMutations
```
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [setPendingScrollTo](./x-components.scrollmutations.setpendingscrollto.md) | | (pendingScrollTo: string) => void | Sets the identifier of the element that is pending to be scrolled into the view. |
| [setScrollComponentState](./x-components.scrollmutations.setscrollcomponentstate.md) | | (partialState: [ScrollStatePayload](./x-components.scrollstatepayload.md)<!-- -->) => void | Sets the scroll position of a certain panel. |