web_sys/features/
gen_HtmlTableCaptionElement.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 = "HTMLTableCaptionElement",
14 typescript_type = "HTMLTableCaptionElement"
15 )]
16 #[derive(Debug, Clone, PartialEq, Eq)]
17 #[doc = "The `HtmlTableCaptionElement` class."]
18 #[doc = ""]
19 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement)"]
20 #[doc = ""]
21 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
22 pub type HtmlTableCaptionElement;
23 #[wasm_bindgen(
24 method,
25 getter,
26 js_class = "HTMLTableCaptionElement",
27 js_name = "align"
28 )]
29 #[doc = "Getter for the `align` field of this object."]
30 #[doc = ""]
31 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)"]
32 #[doc = ""]
33 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
34 pub fn align(this: &HtmlTableCaptionElement) -> ::alloc::string::String;
35 #[wasm_bindgen(
36 method,
37 setter,
38 js_class = "HTMLTableCaptionElement",
39 js_name = "align"
40 )]
41 #[doc = "Setter for the `align` field of this object."]
42 #[doc = ""]
43 #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTableCaptionElement/align)"]
44 #[doc = ""]
45 #[doc = "*This API requires the following crate features to be activated: `HtmlTableCaptionElement`*"]
46 pub fn set_align(this: &HtmlTableCaptionElement, value: &str);
47}