No, its not a roBOT, its a Bag of Tricks!
Bag of Tricks for Astro's View Transitions
The bag of tricks provides support around Astro's view transitions.
![npm version](https://img.shields.io/npm/v/astro-vtbot)
A current deployment of tech demos and the documentation can be found at https://events-3bg.pages.dev/
📓Above all, this includes the >>> Jotter <<< with a wealth of information on transition events as well as background information and valuable tips & tricks on view transitions in Astro.
Some of the contents are technical demos, some are useful tools, and some are reusable components that you can use in your own project to handle edge cases that go beyond Astro's standard features.
Tech Demos
The bag of tricks currently contains several technical demos that show examples of the implementation of various effects using the view transition events.
The sources are in the example
folder.
Reusable Components
For functionality and usage see the documentation.
Feature Enhancements
In this release
<ReplacementSwap />
: An alterantive DOM swap(), which preserves elements in the original DOM to avoid reinitialization of iframes or CSS animations.
Ideas for upcomming components
- A component that identifies and activates the current link in a persistent navigation bar
- A component that preloads images used in view transitions (including load indicator)
Development support
In this release
Todo list
- find & fix bugs
- provide additional components and demos