web_sys/features/
gen_HtmlTableColElement.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 = "HTMLTableColElement",
14 typescript_type = "HTMLTableColElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `HtmlTableColElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
22 pub type HtmlTableColElement;
23 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "span")]
24 #[doc = "Getter for the `span` field of this object."]
25 #[doc = ""]
26 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)"]
27 #[doc = ""]
28 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
29 pub fn span(this: &HtmlTableColElement) -> u32;
30 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "span")]
31 #[doc = "Setter for the `span` field of this object."]
32 #[doc = ""]
33 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/span)"]
34 #[doc = ""]
35 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
36 pub fn set_span(this: &HtmlTableColElement, value: u32);
37 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "align")]
38 #[doc = "Getter for the `align` field of this object."]
39 #[doc = ""]
40 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)"]
41 #[doc = ""]
42 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
43 pub fn align(this: &HtmlTableColElement) -> ::alloc::string::String;
44 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "align")]
45 #[doc = "Setter for the `align` field of this object."]
46 #[doc = ""]
47 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/align)"]
48 #[doc = ""]
49 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
50 pub fn set_align(this: &HtmlTableColElement, value: &str);
51 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "ch")]
52 #[doc = "Getter for the `ch` field of this object."]
53 #[doc = ""]
54 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)"]
55 #[doc = ""]
56 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
57 pub fn ch(this: &HtmlTableColElement) -> ::alloc::string::String;
58 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "ch")]
59 #[doc = "Setter for the `ch` field of this object."]
60 #[doc = ""]
61 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/ch)"]
62 #[doc = ""]
63 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
64 pub fn set_ch(this: &HtmlTableColElement, value: &str);
65 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "chOff")]
66 #[doc = "Getter for the `chOff` field of this object."]
67 #[doc = ""]
68 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)"]
69 #[doc = ""]
70 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
71 pub fn ch_off(this: &HtmlTableColElement) -> ::alloc::string::String;
72 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "chOff")]
73 #[doc = "Setter for the `chOff` field of this object."]
74 #[doc = ""]
75 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/chOff)"]
76 #[doc = ""]
77 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
78 pub fn set_ch_off(this: &HtmlTableColElement, value: &str);
79 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "vAlign")]
80 #[doc = "Getter for the `vAlign` field of this object."]
81 #[doc = ""]
82 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)"]
83 #[doc = ""]
84 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
85 pub fn v_align(this: &HtmlTableColElement) -> ::alloc::string::String;
86 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "vAlign")]
87 #[doc = "Setter for the `vAlign` field of this object."]
88 #[doc = ""]
89 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/vAlign)"]
90 #[doc = ""]
91 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
92 pub fn set_v_align(this: &HtmlTableColElement, value: &str);
93 #[wasm_bindgen(method, getter, js_class = "HTMLTableColElement", js_name = "width")]
94 #[doc = "Getter for the `width` field of this object."]
95 #[doc = ""]
96 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)"]
97 #[doc = ""]
98 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
99 pub fn width(this: &HtmlTableColElement) -> ::alloc::string::String;
100 #[wasm_bindgen(method, setter, js_class = "HTMLTableColElement", js_name = "width")]
101 #[doc = "Setter for the `width` field of this object."]
102 #[doc = ""]
103 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableColElement/width)"]
104 #[doc = ""]
105 #[doc = "*This API requires the following crate features to be activated: `HtmlTableColElement`*"]
106 pub fn set_width(this: &HtmlTableColElement, value: &str);
107}