diff options
author | 2023-11-23 00:20:33 +0100 | |
---|---|---|
committer | 2023-11-23 00:20:33 +0100 | |
commit | 481c13a08c2d6a5bc1b4a8fe4259714d868eb514 (patch) | |
tree | 186e9ac8f4b3ca3a2e7a0058b745b136c287e747 | |
parent | ae4d949e7d91d735c4419d72d1e96fb6a85014d6 (diff) | |
download | astro-481c13a08c2d6a5bc1b4a8fe4259714d868eb514.tar.gz astro-481c13a08c2d6a5bc1b4a8fe4259714d868eb514.tar.zst astro-481c13a08c2d6a5bc1b4a8fe4259714d868eb514.zip |
fix: Changelog formatting for 3.6.0 View Transition events (#9176)
Co-authored-by: Eva Decker <itsevadecker@gmail.com>
-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..a02b12312 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. |