---
id: fast-foundation.horizontalscroll.scrollitemschanged
title: HorizontalScroll.scrollItemsChanged() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-foundation](./fast-foundation.md) &gt; [HorizontalScroll](./fast-foundation.horizontalscroll.md) &gt; [scrollItemsChanged](./fast-foundation.horizontalscroll.scrollitemschanged.md)

## HorizontalScroll.scrollItemsChanged() method

Updates scroll stops and flippers when scroll items change

<b>Signature:</b>

```typescript
scrollItemsChanged(previous: HTMLElement[], next: HTMLElement[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  previous | HTMLElement\[\] | current scroll items |
|  next | HTMLElement\[\] | new updated scroll items |

<b>Returns:</b>

void
