@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 742 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[](./index.md) > [@empathyco/x-components](./x-components.md) > [ScrollMutations](./x-components.scrollmutations.md) > [setPendingScrollTo](./x-components.scrollmutations.setpendingscrollto.md)
Sets the identifier of the element that is pending to be scrolled into the view.
**Signature:**
```typescript
setPendingScrollTo(pendingScrollTo: string): void;
```
| Parameter | Type | Description |
| --- | --- | --- |
| pendingScrollTo | string | The identifier of the element that should be scrolled into view whenever it is loaded. |
**Returns:**
void