You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then, when the promise returned by {{UpdateCallback|updateCallback}} fulfills, the new state of the document is captured.
899
899
900
900
{{UpdateCallback|updateCallback}} is _always_ called, even if the transition cannot happen (e.g. due to duplicate `view-transition-name` values).
901
-
The transition is an enhancement around the state change, so a failure to create a transition never prevents the state change. See [[#transitions-as-enhancements]] for more details on this principle.
901
+
The transition is an enhancement around the state change, so a failure to create a transition never prevents the state change.
902
+
See [[#transitions-as-enhancements]] for more details on this principle.
902
903
903
904
If the promise returned by {{UpdateCallback|updateCallback}} rejects, the transition is skipped.
0 commit comments