We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
types
startViewTransition now support an object as parameter { update: () => void | Promise<void>; types: string[] } https://developer.chrome.com/docs/web-platform/view-transitions/same-document#view-transition-types
startViewTransition
{ update: () => void | Promise<void>; types: string[] }
document.startViewTransition({ update: updateDOM, types: ['spa-navigation'], });
Also the ViewTransition object now includes a types key of type ViewTransitionTypeSet which implement the Set object.
ViewTransition
ViewTransitionTypeSet
viewTransitionClass
CSSStyleDeclaration
The view-transition-class declaration should be included in the CSSStyleDeclaration https://developer.chrome.com/docs/web-platform/view-transitions/same-document#view-transition-class
view-transition-class
element.style.viewTransitionClass;
This feature is supported by Chome (125) and Safari (18).
Note: Both features are not available on MDN yet as for today (27 January 2024)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Missing
types
startViewTransition
now support an object as parameter{ update: () => void | Promise<void>; types: string[] }
https://developer.chrome.com/docs/web-platform/view-transitions/same-document#view-transition-types
Also the
ViewTransition
object now includes atypes
key of typeViewTransitionTypeSet
which implement the Set object.Missing
viewTransitionClass
inCSSStyleDeclaration
The
view-transition-class
declaration should be included in theCSSStyleDeclaration
https://developer.chrome.com/docs/web-platform/view-transitions/same-document#view-transition-class
This feature is supported by Chome (125) and Safari (18).
Note: Both features are not available on MDN yet as for today (27 January 2024)
The text was updated successfully, but these errors were encountered: