- 65fa486: Makes code more defensiv facing optional values.
-
1594efb: This release adds the
link-types
script that let's you annotate view transition types at<a>
elements by adding thedata-vtbag-link-types
attributes.<a href="..." data-vtbag-link-types="backward types/forward types"></a>
For details on how to use the scripts see the documentation.
This release also adds support for browsers that have native cross-document view transitions support but don't support the Navigation API. Looking at you, Safari!
- 9591c7e: makes code a bit more robust
- 34d6a93: Removes log statements
- 5feccc0: link-types: assign view transition types directly to the links that trigger navigation!
- 58b6a3a: Transition types and direction attributes are now also determined on the old page!
And the additional
old
andnew
types tell you, where you are. One use case is to exclude elements from view transitions depending on the direction. With this change you can not only exclude or add the new images but also the old images!
- 3de8989: Dependency updates
- 961b31e: Adds .d.ts declarations
- 214b570: Fixes an issue where the scripts where not reexecuted when fetched from the bfcache.
- 60db4dd: Fixes a bug where backward animations didn't work as advertised
- 83e2556: Removes debug logging
- 57b6b2f: First public version