summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/css-view-transitions.idl
blob: c7ac9f336cfef03302c0df7db1cb1f9e573d0f1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// GENERATED CONTENT - DO NOT EDIT
// Content was automatically extracted by Reffy into webref
// (https://github.com/w3c/webref)
// Source: CSS View Transitions Module Level 1 (https://drafts.csswg.org/css-view-transitions-1/)

partial interface Document {
  ViewTransition startViewTransition(optional UpdateDOMCallback? callback = null);
};

callback UpdateDOMCallback = Promise<any> ();

[Exposed=Window]
interface ViewTransition {
  undefined skipTransition();
  readonly attribute Promise<undefined> finished;
  readonly attribute Promise<undefined> ready;
  readonly attribute Promise<undefined> domUpdated;
};