mirror of
https://github.com/withastro/astro.git
synced 2025-01-20 22:12:38 -05:00
fix: Changelog formatting for 3.6.0 View Transition events (#9176)
Co-authored-by: Eva Decker <itsevadecker@gmail.com>
This commit is contained in:
parent
ae4d949e7d
commit
481c13a08c
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Reference in a new issue