-
Notifications
You must be signed in to change notification settings - Fork 67
Open
Description
Chrome recently shipped the View Transition API, which allows to more seamlessly to animate transitions between different views using snapshots, which is particularly handy for immediate mode/VDOM based rendering, as this makes enter/exit animations particularly tricky.
The main thing to support this looks something like this:
document.startViewTransition(() => patchTheDOM(patches));Then there is a bunch of CSS syntax available to customise the transitions.
On the Elm side I don't know what the opt-in API would look like (perhaps an extra boolean field in Document?)
r-k-b, georgesboris, marcomoroni, pete-murphy, jamesrweb and 2 more
Metadata
Metadata
Assignees
Labels
No labels