Skip to content

Commit

Permalink
docs: adjust punctuation in /src/guide/built-ins/transition.md (#2753)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aaron-zon committed Mar 17, 2024
1 parent 162332d commit 5f1a96f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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 [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/).
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 Expand Up @@ -587,7 +587,7 @@ You can also apply different behavior in JavaScript transition hooks based on th

Sometimes you need to force the re-render of a DOM element in order for a transition to occur.

Take this counter component for example.
Take this counter component for example:

<div class="composition-api">

Expand Down

0 comments on commit 5f1a96f

Please sign in to comment.