eyedropper-api.idl (480B)
1 // GENERATED CONTENT - DO NOT EDIT 2 // Content was automatically extracted by Reffy into webref 3 // (https://github.com/w3c/webref) 4 // Source: EyeDropper API (https://wicg.github.io/eyedropper-api/) 5 6 dictionary ColorSelectionResult { 7 DOMString sRGBHex; 8 }; 9 10 dictionary ColorSelectionOptions { 11 AbortSignal signal; 12 }; 13 14 [Exposed=Window, SecureContext] 15 interface EyeDropper { 16 constructor(); 17 Promise<ColorSelectionResult> open(optional ColorSelectionOptions options = {}); 18 };