[−][src]Trait moxie_dom::interfaces::global_events::GlobalEventHandler
These event handlers are defined on the GlobalEventHandlers mixin, and implemented by HTMLElement, Document, Window, as well as by WorkerGlobalScope for Web Workers.
Provided methods
pub fn onabort(self, callback: impl FnMut(Abort) + 'static) -> Self
[src]
Set an event handler.
pub fn onblur(self, callback: impl FnMut(Blur) + 'static) -> Self
[src]
Set an event handler.
pub fn oncancel(self, callback: impl FnMut(Cancel) + 'static) -> Self
[src]
Set an event handler.
pub fn oncanplay(self, callback: impl FnMut(CanPlay) + 'static) -> Self
[src]
Set an event handler.
pub fn oncanplaythrough(
self,
callback: impl FnMut(CanPlayThrough) + 'static
) -> Self
[src]
self,
callback: impl FnMut(CanPlayThrough) + 'static
) -> Self
Set an event handler.
pub fn onchange(self, callback: impl FnMut(Change) + 'static) -> Self
[src]
Set an event handler.
pub fn onclick(self, callback: impl FnMut(Click) + 'static) -> Self
[src]
Set an event handler.
pub fn onclose(self, callback: impl FnMut(CloseWebsocket) + 'static) -> Self
[src]
Set an event handler.
pub fn oncontextmenu(self, callback: impl FnMut(ContextMenu) + 'static) -> Self
[src]
Set an event handler.
pub fn oncuechange(self, callback: impl FnMut(CueChange) + 'static) -> Self
[src]
Set an event handler.
pub fn ondblclick(self, callback: impl FnMut(DoubleClick) + 'static) -> Self
[src]
Set an event handler.
pub fn ondrag(self, callback: impl FnMut(Drag) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragend(self, callback: impl FnMut(DragEnd) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragenter(self, callback: impl FnMut(DragEnter) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragexit(self, callback: impl FnMut(DragExit) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragleave(self, callback: impl FnMut(DragLeave) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragover(self, callback: impl FnMut(DragOver) + 'static) -> Self
[src]
Set an event handler.
pub fn ondragstart(self, callback: impl FnMut(DragStart) + 'static) -> Self
[src]
Set an event handler.
pub fn ondrop(self, callback: impl FnMut(Dropped) + 'static) -> Self
[src]
Set an event handler.
pub fn ondurationchange(
self,
callback: impl FnMut(DurationChange) + 'static
) -> Self
[src]
self,
callback: impl FnMut(DurationChange) + 'static
) -> Self
Set an event handler.
pub fn onemptied(self, callback: impl FnMut(Emptied) + 'static) -> Self
[src]
Set an event handler.
pub fn onended(self, callback: impl FnMut(PlaybackEnded) + 'static) -> Self
[src]
Set an event handler.
pub fn onerror(self, callback: impl FnMut(ErrorEvent) + 'static) -> Self
[src]
Set an event handler.
pub fn onfocus(self, callback: impl FnMut(Focus) + 'static) -> Self
[src]
Set an event handler.
pub fn ongotpointercapture(
self,
callback: impl FnMut(GotPointerCapture) + 'static
) -> Self
[src]
self,
callback: impl FnMut(GotPointerCapture) + 'static
) -> Self
Set an event handler.
pub fn oninput(self, callback: impl FnMut(Input) + 'static) -> Self
[src]
Set an event handler.
pub fn oninvalid(self, callback: impl FnMut(Invalid) + 'static) -> Self
[src]
Set an event handler.
pub fn onkeydown(self, callback: impl FnMut(KeyDown) + 'static) -> Self
[src]
Set an event handler.
pub fn onkeypress(self, callback: impl FnMut(KeyPress) + 'static) -> Self
[src]
Set an event handler.
pub fn onkeyup(self, callback: impl FnMut(KeyUp) + 'static) -> Self
[src]
Set an event handler.
pub fn onload(self, callback: impl FnMut(ResourceLoad) + 'static) -> Self
[src]
Set an event handler.
pub fn onloadeddata(self, callback: impl FnMut(DataLoaded) + 'static) -> Self
[src]
Set an event handler.
pub fn onloadedmetadata(
self,
callback: impl FnMut(MetadataLoaded) + 'static
) -> Self
[src]
self,
callback: impl FnMut(MetadataLoaded) + 'static
) -> Self
Set an event handler.
pub fn onloadend(self, callback: impl FnMut(LoadEnd) + 'static) -> Self
[src]
Set an event handler.
pub fn onloadstart(self, callback: impl FnMut(LoadStart) + 'static) -> Self
[src]
Set an event handler.
pub fn onlostpointercapture(
self,
callback: impl FnMut(LostPointerCapture) + 'static
) -> Self
[src]
self,
callback: impl FnMut(LostPointerCapture) + 'static
) -> Self
Set an event handler.
pub fn onmouseenter(self, callback: impl FnMut(MouseEnter) + 'static) -> Self
[src]
Set an event handler.
pub fn onmouseleave(self, callback: impl FnMut(MouseLeave) + 'static) -> Self
[src]
Set an event handler.
pub fn onmousemove(self, callback: impl FnMut(MouseMove) + 'static) -> Self
[src]
Set an event handler.
pub fn onmouseout(self, callback: impl FnMut(MouseOut) + 'static) -> Self
[src]
Set an event handler.
pub fn onmouseover(self, callback: impl FnMut(MouseOver) + 'static) -> Self
[src]
Set an event handler.
pub fn onmouseup(self, callback: impl FnMut(MouseUp) + 'static) -> Self
[src]
Set an event handler.
pub fn onpause(self, callback: impl FnMut(Pause) + 'static) -> Self
[src]
Set an event handler.
pub fn onplay(self, callback: impl FnMut(Play) + 'static) -> Self
[src]
Set an event handler.
pub fn onplaying(self, callback: impl FnMut(Playing) + 'static) -> Self
[src]
Set an event handler.
pub fn onpointercancel(
self,
callback: impl FnMut(PointerCancel) + 'static
) -> Self
[src]
self,
callback: impl FnMut(PointerCancel) + 'static
) -> Self
Set an event handler.
pub fn onpointerdown(self, callback: impl FnMut(PointerDown) + 'static) -> Self
[src]
Set an event handler.
pub fn onpointerenter(
self,
callback: impl FnMut(PointerEnter) + 'static
) -> Self
[src]
self,
callback: impl FnMut(PointerEnter) + 'static
) -> Self
Set an event handler.
pub fn onpointerleave(
self,
callback: impl FnMut(PointerLeave) + 'static
) -> Self
[src]
self,
callback: impl FnMut(PointerLeave) + 'static
) -> Self
Set an event handler.
pub fn onpointermove(self, callback: impl FnMut(PointerMove) + 'static) -> Self
[src]
Set an event handler.
pub fn onpointerout(self, callback: impl FnMut(PointerOut) + 'static) -> Self
[src]
Set an event handler.
pub fn onpointerover(self, callback: impl FnMut(PointerOver) + 'static) -> Self
[src]
Set an event handler.
pub fn onpointerup(self, callback: impl FnMut(PointerUp) + 'static) -> Self
[src]
Set an event handler.
pub fn onprogress(self, callback: impl FnMut(Progress) + 'static) -> Self
[src]
Set an event handler.
pub fn onratechange(
self,
callback: impl FnMut(PlaybackRateChange) + 'static
) -> Self
[src]
self,
callback: impl FnMut(PlaybackRateChange) + 'static
) -> Self
Set an event handler.
pub fn onreset(self, callback: impl FnMut(FormReset) + 'static) -> Self
[src]
Set an event handler.
pub fn onresize(self, callback: impl FnMut(ViewResize) + 'static) -> Self
[src]
Set an event handler.
pub fn onscroll(self, callback: impl FnMut(Scroll) + 'static) -> Self
[src]
Set an event handler.
pub fn onseeked(self, callback: impl FnMut(Seeked) + 'static) -> Self
[src]
Set an event handler.
pub fn onseeking(self, callback: impl FnMut(Seeking) + 'static) -> Self
[src]
Set an event handler.
pub fn onselect(self, callback: impl FnMut(Select) + 'static) -> Self
[src]
Set an event handler.
pub fn onselectionchange(
self,
callback: impl FnMut(SelectionChange) + 'static
) -> Self
[src]
self,
callback: impl FnMut(SelectionChange) + 'static
) -> Self
Set an event handler.
pub fn onselectstart(
self,
callback: impl FnMut(SelectionStart) + 'static
) -> Self
[src]
self,
callback: impl FnMut(SelectionStart) + 'static
) -> Self
Set an event handler.
pub fn onshow(self, callback: impl FnMut(ContextMenuShow) + 'static) -> Self
[src]
Set an event handler.
pub fn onstalled(self, callback: impl FnMut(Stalled) + 'static) -> Self
[src]
Set an event handler.
pub fn onsubmit(self, callback: impl FnMut(Submit) + 'static) -> Self
[src]
Set an event handler.
pub fn onsuspend(self, callback: impl FnMut(Suspend) + 'static) -> Self
[src]
Set an event handler.
pub fn ontimeupdate(self, callback: impl FnMut(TimeUpdate) + 'static) -> Self
[src]
Set an event handler.
pub fn onvolumechange(
self,
callback: impl FnMut(VolumeChange) + 'static
) -> Self
[src]
self,
callback: impl FnMut(VolumeChange) + 'static
) -> Self
Set an event handler.
pub fn onwaiting(self, callback: impl FnMut(Waiting) + 'static) -> Self
[src]
Set an event handler.
pub fn onwheel(self, callback: impl FnMut(Wheel) + 'static) -> Self
[src]
Set an event handler.