- From: Bramus via GitHub <sysbot+gh@w3.org>
- Date: Tue, 05 Nov 2024 10:44:08 +0000
- To: public-css-archive@w3.org
The alternative is that authors always set a default type using CSS (cross-document) / JS (same-document) when none is to be used, but that seems a bit counterintuitive:
```css
@view-transition {
navigation: auto;
types: default;
}
```
```js
const t = document.startViewTransition({
update: () => {
document.documentElement.classList.toggle('vt');
},
types: ['default'],
});
```
--
GitHub Notification of comment by bramus
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11152#issuecomment-2456834093 using your GitHub account
--
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 5 November 2024 10:44:09 UTC