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