- From: Noam Rosenthal via GitHub <sysbot+gh@w3.org>
- Date: Tue, 13 Aug 2024 10:18:48 +0000
- To: public-css-archive@w3.org
Since this is quite easy with `types`, I think we should close this. OK with you @khushalsagar ?
```js
const transition = document.startViewTransition(
{ update: () => {
transition.types.add("new");
// update the DOM somehow ...
}, types: ["old"]);
```
--
GitHub Notification of comment by noamr
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/9424#issuecomment-2285895868 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 13 August 2024 10:18:49 UTC