ShadowRoot

Struct ShadowRoot 

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

The ShadowRoot class.

MDN Documentation

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

Implementations§

Source§

impl ShadowRoot

Source

pub fn mode(&self) -> ShadowRootMode

Getter for the mode field of this object.

MDN Documentation

This API requires the following crate features to be activated: ShadowRoot, ShadowRootMode

Source§

impl ShadowRoot

Source

pub fn host(&self) -> Element

Getter for the host field of this object.

MDN Documentation

This API requires the following crate features to be activated: Element, ShadowRoot

Source§

impl ShadowRoot

Source

pub fn inner_html(&self) -> String

Getter for the innerHTML field of this object.

MDN Documentation

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

Source§

impl ShadowRoot

Source

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

Setter for the innerHTML field of this object.

MDN Documentation

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

Source