Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: adjust punctuation in /src/guide/built-ins/transition.md. #2753

Merged
merged 1 commit into from
Mar 17, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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