blob: 7c3f6e78bb1c8dd00ce7418250da0f75008df305 [file] [log] [blame]
#![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 = HTMLTitleElement , typescript_type = "HTMLTitleElement")]
#[derive(Debug, Clone, PartialEq, Eq)]
#[doc = "The `HtmlTitleElement` class."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
pub type HtmlTitleElement;
# [wasm_bindgen (structural , catch , method , getter , js_class = "HTMLTitleElement" , js_name = text)]
#[doc = "Getter for the `text` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
pub fn text(this: &HtmlTitleElement) -> Result<String, JsValue>;
# [wasm_bindgen (structural , catch , method , setter , js_class = "HTMLTitleElement" , js_name = text)]
#[doc = "Setter for the `text` field of this object."]
#[doc = ""]
#[doc = "[MDN Documentation](https://developer.mozilla.org/en-US/docs/Web/API/HTMLTitleElement/text)"]
#[doc = ""]
#[doc = "*This API requires the following crate features to be activated: `HtmlTitleElement`*"]
pub fn set_text(this: &HtmlTitleElement, value: &str) -> Result<(), JsValue>;
}