Skip to content

Commit 596f101

Browse files
committed
Add withScrolledInView decorator reference to ScrollAnimationTimeline docs
1 parent 03bbd97 commit 596f101

File tree

1 file changed

+2
-0
lines changed
  • packages/docs/components/ScrollAnimation

1 file changed

+2
-0
lines changed

packages/docs/components/ScrollAnimation/js-api.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ title: ScrollAnimation JS API
88

99
A parent component that manages scroll-based animations for its children `ScrollAnimationTarget` components. The timeline watches for its position in the viewport and propagates the scroll progress to all its children.
1010

11+
This component is based on the [`withScrolledInView`](https://js-toolkit.studiometa.dev/api/decorators/withScrolledInView.html) decorator from the `@studiometa/js-toolkit` package and inherits all of its options.
12+
1113
### Usage
1214

1315
```js

0 commit comments

Comments
 (0)