HtmlSourceElement

Struct HtmlSourceElement 

Source
pub struct HtmlSourceElement { /* private fields */ }
Expand description

The HtmlSourceElement class.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Implementations§

Source§

impl HtmlSourceElement

Source

pub fn src(&self) -> String

Getter for the src field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn set_src(&self, value: &str)

Setter for the src field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn type_(&self) -> String

Getter for the type field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn set_type(&self, value: &str)

Setter for the type field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn srcset(&self) -> String

Getter for the srcset field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn set_srcset(&self, value: &str)

Setter for the srcset field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn sizes(&self) -> String

Getter for the sizes field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn set_sizes(&self, value: &str)

Setter for the sizes field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn media(&self) -> String

Getter for the media field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Source§

impl HtmlSourceElement

Source

pub fn set_media(&self, value: &str)

Setter for the media field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlSourceElement

Methods from Deref<Target = HtmlElement>§

Source

pub fn title(&self) -> String

Getter for the title field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_title(&self, value: &str)

Setter for the title field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn scroll_height(&self) -> i32

Getter for the scrollHeight field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_scroll_height(&self, value: i32)

Setter for the scrollHeight field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn scroll_top(&self) -> i32

Getter for the scrollTop field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_scroll_top(&self, value: i32)

Setter for the scrollTop field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn lang(&self) -> String

Getter for the lang field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_lang(&self, value: &str)

Setter for the lang field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn dir(&self) -> String

Getter for the dir field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_dir(&self, value: &str)

Setter for the dir field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn inner_text(&self) -> String

Getter for the innerText field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_inner_text(&self, value: &str)

Setter for the innerText field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn hidden(&self) -> bool

Getter for the hidden field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_hidden(&self, value: bool)

Setter for the hidden field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn inert(&self) -> bool

Getter for the inert field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_inert(&self, value: bool)

Setter for the inert field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn access_key(&self) -> String

Getter for the accessKey field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn set_access_key(&self, value: &str)

Setter for the accessKey field of this object.

MDN Documentation

This API requires the following crate features to be activated: HtmlElement

Source

pub fn access_key_label(&self) -> String

Getter for the accessKeyLabel field of this object.