1 #![allow(unused_imports)]
2 use super::*;
3 use wasm_bindgen::prelude::*;
4 #[wasm_bindgen]
5 extern "C" {
6     # [wasm_bindgen (extends = :: js_sys :: Object , js_name = Clients , typescript_type = "Clients")]
7     #[derive(Debug, Clone, PartialEq, Eq)]
8     #[doc = "The `Clients` class."]
9     #[doc = ""]
10     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients)"]
11     #[doc = ""]
12     #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
13     pub type Clients;
14     # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = claim)]
15     #[doc = "The `claim()` method."]
16     #[doc = ""]
17     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/claim)"]
new(rect_list: &DomRectList, text_list: &::wasm_bindgen::JsValue) -> Self18     #[doc = ""]
19     #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
20     pub fn claim(this: &Clients) -> ::js_sys::Promise;
21     # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = get)]
22     #[doc = "The `get()` method."]
23     #[doc = ""]
24     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/get)"]
25     #[doc = ""]
26     #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
27     pub fn get(this: &Clients, id: &str) -> ::js_sys::Promise;
28     # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)]
rect_list(&mut self, val: &DomRectList) -> &mut Self29     #[doc = "The `matchAll()` method."]
30     #[doc = ""]
31     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"]
32     #[doc = ""]
33     #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
34     pub fn match_all(this: &Clients) -> ::js_sys::Promise;
35     #[cfg(feature = "ClientQueryOptions")]
36     # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = matchAll)]
37     #[doc = "The `matchAll()` method."]
38     #[doc = ""]
39     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/matchAll)"]
40     #[doc = ""]
41     #[doc = "*This API requires the following crate features to be activated: `ClientQueryOptions`, `Clients`*"]
42     pub fn match_all_with_options(
43         this: &Clients,
44         options: &ClientQueryOptions,
45     ) -> ::js_sys::Promise;
text_list(&mut self, val: &::wasm_bindgen::JsValue) -> &mut Self46     # [wasm_bindgen (method , structural , js_class = "Clients" , js_name = openWindow)]
47     #[doc = "The `openWindow()` method."]
48     #[doc = ""]
49     #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/Clients/openWindow)"]
50     #[doc = ""]
51     #[doc = "*This API requires the following crate features to be activated: `Clients`*"]
52     pub fn open_window(this: &Clients, url: &str) -> ::js_sys::Promise;
53 }
54