diff options
author | 2023-11-22 16:48:15 -0500 | |
---|---|---|
committer | 2023-11-22 16:48:15 -0500 | |
commit | 7c485ffc862f976834b40e724c5ebb6a311a9db4 (patch) | |
tree | 633ff1cdffe0e877ee43fe4bc0a56acf765929df | |
parent | 4d1274c47987bf3c247f0ad02309f3c2b9968d6e (diff) | |
download | astro-7c485ffc862f976834b40e724c5ebb6a311a9db4.tar.gz astro-7c485ffc862f976834b40e724c5ebb6a311a9db4.tar.zst astro-7c485ffc862f976834b40e724c5ebb6a311a9db4.zip |
Fix View Transitions code block formatting (#9174)
-rw-r--r-- | packages/astro/CHANGELOG.md | 6 |
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. |