UNPKG

@empathyco/x-components

Version:
22 lines (13 loc) 886 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [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) =&gt; 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)<!-- -->) =&gt; void | Sets the scroll position of a certain panel. |