---
id: fast-animation.scrolltrigger.update
title: ScrollTrigger.update() method
hide_title: true
---
<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[@microsoft/fast-animation](./fast-animation.md) &gt; [ScrollTrigger](./fast-animation.scrolltrigger.md) &gt; [update](./fast-animation.scrolltrigger.update.md)

## ScrollTrigger.update() method

Check if elements are in view-port and apply scroll method if they are

<b>Signature:</b>

```typescript
protected update(): void;
```
<b>Returns:</b>

void
