ViewTransition extension type
The ViewTransition
interface of the View Transitions API
represents
a view transition, and provides functionality to react to the transition
reaching different states (e.g. ready to run the animation, or animation
finished) or skip the transition altogether.
This object type is returned by the Document.startViewTransition
method.
When startViewTransition()
is invoked, a sequence of steps is followed as
explained in
The view transition process.
This also explains when the different promises fulfill.
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
skipTransition(
) → void -
The
skipTransition()
method of the ViewTransition interface skips the animation part of the view transition, but doesn't skip running theDocument.startViewTransition
callback that updates the DOM. -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited