UNPKG

@empathyco/x-components

Version:
25 lines (14 loc) 742 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) &gt; [setPendingScrollTo](./x-components.scrollmutations.setpendingscrollto.md) ## ScrollMutations.setPendingScrollTo() method Sets the identifier of the element that is pending to be scrolled into the view. **Signature:** ```typescript setPendingScrollTo(pendingScrollTo: string): void; ``` ## Parameters | Parameter | Type | Description | | --- | --- | --- | | pendingScrollTo | string | The identifier of the element that should be scrolled into view whenever it is loaded. | **Returns:** void