这是indexloc提供的服务,不要输入任何密码
Skip to content

Proposal: Shared Element Transitions #12

@vmpstr

Description

@vmpstr

Introduction

Currently, a smooth transition between activities is hard to accomplish in a Single-Page App, and is impossible to do so in a Multi-Page App. This is because although the animation language is expressive and powerful, coordinating different animations and DOM mutations is a difficult task.

We propose an API that is easy to adopt, with an explicit "prepare" and "transition" steps that allow the user-agent to do the bulk of the work of saving the current visual state and transitioning to the new state with an animated effect.

Please see the complete explainer.

Feedback

I welcome feedback in this thread, but encourage you to file bugs in this repo in order to keep better track of any concerns raised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Category: APIsGeneric category for proposals related to JS APIs (other than for JavaScript language enhancements)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions