-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add initial version of svg animation crossing * move animation forward for duration of view transition * remove `svg-anim` kind and move svg animation logic into `anim` kind * chore: add changeset --------- Co-authored-by: Martin Trapp <[email protected]>
- Loading branch information
Showing
2 changed files
with
67 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
'@vtbag/element-crossing': patch | ||
--- | ||
|
||
Extend `anim` expression with support for SVG animations. | ||
|
||
To transfer the SVG animation state to the new document use the `/svg` key for the `anim` expression | ||
|
||
```html | ||
<svg data-vtbag-x="id:svg anim:/svg">...</svg> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters