pub trait HTMLBodyElementMethods {
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>>);
}

Required Methods§

source

fn Text(&self) -> DOMString

source

fn SetText(&self, value: DOMString)

source

fn BgColor(&self) -> DOMString

source

fn SetBgColor(&self, value: DOMString)

source

fn Background(&self) -> DOMString

source

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

source

fn GetOnafterprint(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnafterprint(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnbeforeprint(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnbeforeprint(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnbeforeunload(&self) -> Option<Rc<OnBeforeUnloadEventHandlerNonNull>>

source

fn SetOnbeforeunload( &self, value: Option<Rc<OnBeforeUnloadEventHandlerNonNull>>, )

source

fn GetOnhashchange(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnhashchange(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnlanguagechange(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnlanguagechange(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnmessage(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnmessage(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnmessageerror(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnmessageerror(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnoffline(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnoffline(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnonline(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnonline(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnpagehide(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnpagehide(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnpageshow(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnpageshow(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnpopstate(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnpopstate(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnrejectionhandled(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnrejectionhandled(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnstorage(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnstorage(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnunhandledrejection(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnunhandledrejection(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOnunload(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOnunload(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOngamepadconnected(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOngamepadconnected(&self, value: Option<Rc<EventHandlerNonNull>>)

source

fn GetOngamepaddisconnected(&self) -> Option<Rc<EventHandlerNonNull>>

source

fn SetOngamepaddisconnected(&self, value: Option<Rc<EventHandlerNonNull>>)

Implementors§