maxcountryman_web_sys/features/
gen_HtmlDirectoryElement.rs1#![allow(unused_imports)]
2use super::*;
3use wasm_bindgen::prelude::*;
4#[wasm_bindgen]
5extern "C" {
6 # [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLDirectoryElement , typescript_type = "HTMLDirectoryElement")]
7 #[derive(Debug, Clone, PartialEq, Eq)]
8 #[doc = "The `HtmlDirectoryElement` class."]
9 #[doc = ""]
10 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement)"]
11 #[doc = ""]
12 #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
13 pub type HtmlDirectoryElement;
14 # [wasm_bindgen (structural , method , getter , js_class = "HTMLDirectoryElement" , js_name = compact)]
15 #[doc = "Getter for the `compact` field of this object."]
16 #[doc = ""]
17 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)"]
18 #[doc = ""]
19 #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
20 pub fn compact(this: &HtmlDirectoryElement) -> bool;
21 # [wasm_bindgen (structural , method , setter , js_class = "HTMLDirectoryElement" , js_name = compact)]
22 #[doc = "Setter for the `compact` field of this object."]
23 #[doc = ""]
24 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDirectoryElement/compact)"]
25 #[doc = ""]
26 #[doc = "*This API requires the following crate features to be activated: `HtmlDirectoryElement`*"]
27 pub fn set_compact(this: &HtmlDirectoryElement, value: bool);
28}