summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--packages/astro/CHANGELOG.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md
index 1e6a1769a..57e512af7 100644
--- a/packages/astro/CHANGELOG.md
+++ b/packages/astro/CHANGELOG.md
@@ -9,9 +9,9 @@
Three new events now complement the existing `astro:after-swap` and `astro:page-load` events:
```javascript
- astro: before - preparation; // Control how the DOM and other resources of the target page are loaded
- astro: after - preparation; // Last changes before taking off? Remove that loading indicator? Here you go!
- astro: before - swap; // Control how the DOM is updated to match the new page
+ astro:before-preparation; // Control how the DOM and other resources of the target page are loaded
+ astro:after-preparation; // Last changes before taking off? Remove that loading indicator? Here you go!
+ astro:before-swap; // Control how the DOM is updated to match the new page
```
The `astro:before-*` events allow you to change properties and strategies of the view transition implementation.