maxcountryman_web_sys/features/
gen_HtmlLegendElement.rs

1#![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 = HTMLLegendElement , typescript_type = "HTMLLegendElement")]
7    #[derive(Debug, Clone, PartialEq, Eq)]
8    #[doc = "The `HtmlLegendElement` class."]
9    #[doc = ""]
10    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement)"]
11    #[doc = ""]
12    #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
13    pub type HtmlLegendElement;
14    #[cfg(feature = "HtmlFormElement")]
15    # [wasm_bindgen (structural , method , getter , js_class = "HTMLLegendElement" , js_name = form)]
16    #[doc = "Getter for the `form` field of this object."]
17    #[doc = ""]
18    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/form)"]
19    #[doc = ""]
20    #[doc = "*This API requires the following crate features to be activated: `HtmlFormElement`, `HtmlLegendElement`*"]
21    pub fn form(this: &HtmlLegendElement) -> Option<HtmlFormElement>;
22    # [wasm_bindgen (structural , method , getter , js_class = "HTMLLegendElement" , js_name = align)]
23    #[doc = "Getter for the `align` field of this object."]
24    #[doc = ""]
25    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)"]
26    #[doc = ""]
27    #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
28    pub fn align(this: &HtmlLegendElement) -> String;
29    # [wasm_bindgen (structural , method , setter , js_class = "HTMLLegendElement" , js_name = align)]
30    #[doc = "Setter for the `align` field of this object."]
31    #[doc = ""]
32    #[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLLegendElement/align)"]
33    #[doc = ""]
34    #[doc = "*This API requires the following crate features to be activated: `HtmlLegendElement`*"]
35    pub fn set_align(this: &HtmlLegendElement, value: &str);
36}