Skip to content

Support View Transitions APIΒ #131

@gampleman

Description

@gampleman

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?)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions