@empathyco/x-components
Version:
Empathy X Components
22 lines (13 loc) • 740 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
```
## Methods
| Method | Description |
| --- | --- |
| [setPendingScrollTo(pendingScrollTo)](./x-components.scrollmutations.setpendingscrollto.md) | Sets the identifier of the element that is pending to be scrolled into the view. |
| [setScrollComponentState(partialState)](./x-components.scrollmutations.setscrollcomponentstate.md) | Sets the scroll position of a certain panel. |