summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/interfaces/eyedropper-api.idl
blob: 62c8c4aea6adcb0979edcdbc0f054403341d2653 (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: EyeDropper API (https://wicg.github.io/eyedropper-api/)

dictionary ColorSelectionResult {
  DOMString sRGBHex;
};

dictionary ColorSelectionOptions {
  AbortSignal signal;
};

[Exposed=Window, SecureContext]
interface EyeDropper {
    constructor();
    Promise<ColorSelectionResult> open(optional ColorSelectionOptions options = {});
};