- From: Jake Archibald via GitHub <sysbot+gh@w3.org>
- Date: Thu, 08 Jun 2023 13:52:54 +0000
- To: public-css-archive@w3.org
Yeah, that might be nice and forward-looking.
```js
document.startViewTransition({
urls,
update() {
// update DOM here
}
});
```
Where `urls` can be:
- `undefined` - default, don't do anything with the media queries
- `"auto"` - pick up the URLs automatically
- `{ old, new }` - the URLs. If either are left undefined, then they're picked up automatically.
Maybe that's a bit of a weird API shape, since `{}` would be equivalent to `"auto"`. But I like the idea.
--
GitHub Notification of comment by jakearchibald
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8925#issuecomment-1582618773 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Thursday, 8 June 2023 13:52:55 UTC