maxcountryman_web_sys/features/
gen_Clients.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "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)"]
18 #[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)]
29 #[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;
46 # [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}