pub struct HtmlSourceElement { /* private fields */ }
Expand description
The HtmlSourceElement
class.
This API requires the following crate features to be activated: HtmlSourceElement
Implementations§
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Sourcepub fn set_srcset(&self, value: &str)
pub fn set_srcset(&self, value: &str)
Setter for the srcset
field of this object.
This API requires the following crate features to be activated: HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Source§impl HtmlSourceElement
impl HtmlSourceElement
Methods from Deref<Target = HtmlElement>§
Sourcepub fn title(&self) -> String
pub fn title(&self) -> String
Getter for the title
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn set_title(&self, value: &str)
pub fn set_title(&self, value: &str)
Setter for the title
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn scroll_height(&self) -> i32
pub fn scroll_height(&self) -> i32
Getter for the scrollHeight
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn set_scroll_height(&self, value: i32)
pub fn set_scroll_height(&self, value: i32)
Setter for the scrollHeight
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn scroll_top(&self) -> i32
pub fn scroll_top(&self) -> i32
Getter for the scrollTop
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn set_scroll_top(&self, value: i32)
pub fn set_scroll_top(&self, value: i32)
Setter for the scrollTop
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn lang(&self) -> String
pub fn lang(&self) -> String
Getter for the lang
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn set_lang(&self, value: &str)
pub fn set_lang(&self, value: &str)
Setter for the lang
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn dir(&self) -> String
pub fn dir(&self) -> String
Getter for the dir
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn set_dir(&self, value: &str)
pub fn set_dir(&self, value: &str)
Setter for the dir
field of this object.
This API requires the following crate features to be activated: HtmlElement
Sourcepub fn inner_text(&self) -> String
pub fn inner_text(&self) -> String
Getter for the innerText
field of this object.
This API requires the following crate features to be activated: HtmlElement