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