UNPKG

@empathyco/x-components

Version:
78 lines (35 loc) 1.11 kB
<!-- 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 <table><thead><tr><th> Property </th><th> Modifiers </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> [setPendingScrollTo](./x-components.scrollmutations.setpendingscrollto.md) </td><td> </td><td> (pendingScrollTo: string) =&gt; void </td><td> Sets the identifier of the element that is pending to be scrolled into the view. </td></tr> <tr><td> [setScrollComponentState](./x-components.scrollmutations.setscrollcomponentstate.md) </td><td> </td><td> (partialState: [ScrollStatePayload](./x-components.scrollstatepayload.md)<!-- -->) =&gt; void </td><td> Sets the scroll position of a certain panel. </td></tr> </tbody></table>