0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00

[ci] format

This commit is contained in:
Eva Decker 2023-11-22 21:49:55 +00:00 committed by astrobot-houston
parent 7c485ffc86
commit ae4d949e7d

View file

@ -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.