pub trait ShadowRootMethods<D: DomTypes> {
Show 18 methods // Required methods fn Mode(&self) -> ShadowRootMode; fn DelegatesFocus(&self) -> bool; fn SlotAssignment(&self) -> SlotAssignmentMode; fn Clonable(&self) -> bool; fn Serializable(&self) -> bool; fn Host(&self) -> DomRoot<D::Element>; fn GetOnslotchange(&self) -> Option<Rc<EventHandlerNonNull<D>>>; fn SetOnslotchange(&self, value: Option<Rc<EventHandlerNonNull<D>>>); fn SetHTMLUnsafe( &self, html: TrustedHTMLOrString<D>, _can_gc: CanGc, ) -> Fallible<()>; fn GetHTML(&self, options: &GetHTMLOptions<D>, _can_gc: CanGc) -> DOMString; fn GetInnerHTML( &self, _can_gc: CanGc, ) -> Fallible<TrustedHTMLOrNullIsEmptyString<D>>; fn SetInnerHTML( &self, value: TrustedHTMLOrNullIsEmptyString<D>, _can_gc: CanGc, ) -> ErrorResult; fn ElementFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Option<DomRoot<D::Element>>; fn ElementsFromPoint( &self, x: Finite<f64>, y: Finite<f64>, ) -> Vec<DomRoot<D::Element>> ; fn GetActiveElement(&self) -> Option<DomRoot<D::Element>>; fn StyleSheets(&self) -> DomRoot<D::StyleSheetList>; fn AdoptedStyleSheets( &self, cx: SafeJSContext, _can_gc: CanGc, retval: MutableHandleValue<'_>, ); fn SetAdoptedStyleSheets( &self, cx: SafeJSContext, value: HandleValue<'_>, ) -> ErrorResult;
}

Required Methods§

Implementors§