summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/css-view-transitions.idl
blob: 745eb1d96913389a24b933152c674abb086e3c28 (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 UpdateCallback? updateCallback = null);
};

callback UpdateCallback = Promise<any> ();

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