pub struct ShadowRoot { /* private fields */ }
Expand description
The ShadowRoot
class.
This API requires the following crate features to be activated: ShadowRoot
Implementations§
Source§impl ShadowRoot
impl ShadowRoot
Sourcepub fn mode(&self) -> ShadowRootMode
pub fn mode(&self) -> ShadowRootMode
Getter for the mode
field of this object.
This API requires the following crate features to be activated: ShadowRoot
, ShadowRootMode
Source§impl ShadowRoot
impl ShadowRoot
Source§impl ShadowRoot
impl ShadowRoot
Sourcepub fn inner_html(&self) -> String
pub fn inner_html(&self) -> String
Getter for the innerHTML
field of this object.
This API requires the following crate features to be activated: ShadowRoot
Source§impl ShadowRoot
impl ShadowRoot
Sourcepub fn set_inner_html(&self, value: &str)
pub fn set_inner_html(&self, value: &str)
Setter for the innerHTML
field of this object.
This API requires the following crate features to be activated: ShadowRoot