Skip to content

Update backdrop explainer for JS#130

Open
AdaRoseCannon wants to merge 1 commit intoWebKit:mainfrom
AdaRoseCannon:backdrop
Open

Update backdrop explainer for JS#130
AdaRoseCannon wants to merge 1 commit intoWebKit:mainfrom
AdaRoseCannon:backdrop

Conversation

@AdaRoseCannon
Copy link
Copy Markdown
Contributor

Restructure the explainer around the JavaScript API on the element (requestImmersive / exitImmersive), moving the previous declarative design to "Alternative Considered".

The imperative approach gives the page ownership of the activation UI, awareness of the current immersive state via immersivechange and a handle for controlling the backdrop after it is presented (entityTransform, environment map swaps, model animations).

Restructure the explainer around the JavaScript API on the <model>  element (requestImmersive / exitImmersive), moving the previous declarative <link rel="spatial-backdrop"> design to "Alternative Considered".

The imperative approach gives the page ownership of the activation UI, awareness of the current immersive state via immersivechange and a handle for controlling the backdrop after it is presented (entityTransform, environment map swaps, model animations).

---------

Co-authored-by: Marcos Caceres <marcosc@apple.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant