pub trait ShadowRootMethods<D: DomTypes> {
    // Required methods
    fn Mode(&self) -> ShadowRootMode;
    fn Host(&self) -> Root<Dom<Element>>;
    fn InnerHTML(&self) -> DOMString;
    fn SetInnerHTML(&self, value: DOMString, _can_gc: CanGc);
    fn ElementFromPoint(
        &self,
        x: Finite<f64>,
        y: Finite<f64>,
        _can_gc: CanGc,
    ) -> Option<Root<Dom<Element>>>;
    fn ElementsFromPoint(
        &self,
        x: Finite<f64>,
        y: Finite<f64>,
        _can_gc: CanGc,
    ) -> Vec<Root<Dom<Element>>>;
    fn GetActiveElement(&self) -> Option<Root<Dom<Element>>>;
    fn StyleSheets(&self) -> Root<Dom<StyleSheetList>>;
}

Required Methods§

source

fn Mode(&self) -> ShadowRootMode

source

fn Host(&self) -> Root<Dom<Element>>

source

fn InnerHTML(&self) -> DOMString

source

fn SetInnerHTML(&self, value: DOMString, _can_gc: CanGc)

source

fn ElementFromPoint( &self, x: Finite<f64>, y: Finite<f64>, _can_gc: CanGc, ) -> Option<Root<Dom<Element>>>

source

fn ElementsFromPoint( &self, x: Finite<f64>, y: Finite<f64>, _can_gc: CanGc, ) -> Vec<Root<Dom<Element>>>

source

fn GetActiveElement(&self) -> Option<Root<Dom<Element>>>

source

fn StyleSheets(&self) -> Root<Dom<StyleSheetList>>

Implementors§