Skip to content

Commit

Permalink
docs: GreenSock => GSAP (#2738)
Browse files Browse the repository at this point in the history
  • Loading branch information
AloisSeckar committed Mar 11, 2024
1 parent 0910c20 commit 30e16e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/guide/built-ins/transition-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ By communicating with JavaScript transitions through data attributes, it's also
</TransitionGroup>
```

Then, in JavaScript hooks, we animate the element with a delay based on the data attribute. This example is using the [GreenSock library](https://greensock.com/) to perform the animation:
Then, in JavaScript hooks, we animate the element with a delay based on the data attribute. This example is using the [GSAP library](https://gsap.com/) to perform the animation:

```js{5}
function onEnter(el, done) {
Expand Down
2 changes: 1 addition & 1 deletion src/guide/built-ins/transition.md
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ When using JavaScript-only transitions, it is usually a good idea to add the `:c

With `:css="false"`, we are also fully responsible for controlling when the transition ends. In this case, the `done` callbacks are required for the `@enter` and `@leave` hooks. Otherwise, the hooks will be called synchronously and the transition will finish immediately.

Here's a demo using the [GreenSock library](https://greensock.com/) to perform the animations. You can, of course, use any other animation library you want, for example [Anime.js](https://animejs.com/) or [Motion One](https://motion.dev/).
Here's a demo using the [GSAP library](https://gsap.com/) to perform the animations. You can, of course, use any other animation library you want, for example [Anime.js](https://animejs.com/) or [Motion One](https://motion.dev/).

<JsHooks />

Expand Down

0 comments on commit 30e16e5

Please sign in to comment.