pub trait HTMLBodyElementMethods<D: DomTypes> {
Show 42 methods
// Required methods
fn Text(&self) -> DOMString;
fn SetText(&self, value: DOMString);
fn BgColor(&self) -> DOMString;
fn SetBgColor(&self, value: DOMString);
fn Background(&self) -> DOMString;
fn SetBackground(&self, value: DOMString, _can_gc: CanGc);
fn GetOnafterprint(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnafterprint(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnbeforeprint(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnbeforeprint(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnbeforeunload(&self) -> Option<Rc<OnBeforeUnloadEventHandlerNonNull>>;
fn SetOnbeforeunload(
&self,
value: Option<Rc<OnBeforeUnloadEventHandlerNonNull>>,
);
fn GetOnhashchange(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnhashchange(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnlanguagechange(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnlanguagechange(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnmessage(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnmessage(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnmessageerror(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnmessageerror(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnoffline(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnoffline(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnonline(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnonline(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnpagehide(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnpagehide(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnpageshow(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnpageshow(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnpopstate(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnpopstate(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnrejectionhandled(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnrejectionhandled(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnstorage(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnstorage(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnunhandledrejection(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnunhandledrejection(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOnunload(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOnunload(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOngamepadconnected(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOngamepadconnected(&self, value: Option<Rc<EventHandlerNonNull>>);
fn GetOngamepaddisconnected(&self) -> Option<Rc<EventHandlerNonNull>>;
fn SetOngamepaddisconnected(&self, value: Option<Rc<EventHandlerNonNull>>);
}