29 lines
1.6 KiB
Rust
29 lines
1.6 KiB
Rust
|
|
#![allow(unused_imports)]
|
||
|
|
use super::*;
|
||
|
|
use wasm_bindgen::prelude::*;
|
||
|
|
#[wasm_bindgen]
|
||
|
|
extern "C" {
|
||
|
|
# [wasm_bindgen (extends = HtmlElement , extends = Element , extends = Node , extends = EventTarget , extends = :: js_sys :: Object , js_name = HTMLHeadingElement , typescript_type = "HTMLHeadingElement")]
|
||
|
|
#[derive(Debug, Clone, PartialEq, Eq)]
|
||
|
|
#[doc = "The `HtmlHeadingElement` class."]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement)"]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
|
||
|
|
pub type HtmlHeadingElement;
|
||
|
|
# [wasm_bindgen (structural , method , getter , js_class = "HTMLHeadingElement" , js_name = align)]
|
||
|
|
#[doc = "Getter for the `align` field of this object."]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)"]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
|
||
|
|
pub fn align(this: &HtmlHeadingElement) -> String;
|
||
|
|
# [wasm_bindgen (structural , method , setter , js_class = "HTMLHeadingElement" , js_name = align)]
|
||
|
|
#[doc = "Setter for the `align` field of this object."]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLHeadingElement/align)"]
|
||
|
|
#[doc = ""]
|
||
|
|
#[doc = "*This API requires the following crate features to be activated: `HtmlHeadingElement`*"]
|
||
|
|
pub fn set_align(this: &HtmlHeadingElement, value: &str);
|
||
|
|
}
|