Definition
CSS View Transitions Module Level 1 defines ViewTransition
[Exposed=Window]
interface ViewTransition {
readonly attribute Promise<undefined> updateCallbackDone;
readonly attribute Promise<undefined> ready;
readonly attribute Promise<undefined> finished;
undefined skipTransition();
};
This interface is extended in the following specifications:
- CSS View Transitions Module Level 2
[Exposed=Window] partial interface ViewTransition { attribute ViewTransitionTypeSet types; };
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface ViewTransition {
readonly attribute Promise<undefined> updateCallbackDone;
readonly attribute Promise<undefined> ready;
readonly attribute Promise<undefined> finished;
undefined skipTransition();
attribute ViewTransitionTypeSet types;
};
Methods and attributes that return objects implementing ViewTransition
Referring IDL interfaces/dictionaries
Referring specifications
- HTML Standard refers to
ViewTransition
- CSS View Transitions Module Level 2 refers to
ViewTransition