event

package
v0.0.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2022 License: MIT Imports: 1 Imported by: 0

Documentation

Rendered for js/wasm

Overview

Package event contains constructors of DOM Events. Generates with texts from https://developer.mozilla.org/en-US/docs/Web/Events page

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abort

func Abort(handler func(*mogowk.EventData)) *mogowk.EventListener

Abort is a "abort" Event

UIEvent - The loading of a resource has been aborted
Event (IndexedDB) - A transaction has been aborted
ProgressEvent (XMLHttpRequest) - Progression has been terminated (not due to an
error)

https://developer.mozilla.org/en-US/docs/Web/Events/abort https://developer.mozilla.org/en-US/docs/Web/Reference/Events/abort_indexedDB https://developer.mozilla.org/en-US/docs/Web/Reference/Events/abort_(ProgressEvent)

func AfterPrint

func AfterPrint(handler func(*mogowk.EventData)) *mogowk.EventListener

AfterPrint is a "afterprint" Event

Event - The associated document has started printing or the print preview has
been closed

https://developer.mozilla.org/en-US/docs/Web/Events/afterprint

func AnimationCancel

func AnimationCancel(handler func(*mogowk.EventData)) *mogowk.EventListener

AnimationCancel is a "animationcancel" Event

AnimationEvent - A CSS animation has aborted

https://developer.mozilla.org/en-US/docs/Web/Events/animationcancel

func AnimationEnd

func AnimationEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

AnimationEnd is a "animationend" Event

AnimationEvent - A CSS animation has completed

https://developer.mozilla.org/en-US/docs/Web/Events/animationend

func AnimationIteration

func AnimationIteration(handler func(*mogowk.EventData)) *mogowk.EventListener

AnimationIteration is a "animationiteration" Event

AnimationEvent - A CSS animation is repeated

https://developer.mozilla.org/en-US/docs/Web/Events/animationiteration

func AnimationStart

func AnimationStart(handler func(*mogowk.EventData)) *mogowk.EventListener

AnimationStart is a "animationstart" Event

AnimationEvent - A CSS animation has started

https://developer.mozilla.org/en-US/docs/Web/Events/animationstart

func AudioEnd

func AudioEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

AudioEnd is a "audioend" Event

Event - The user agent has finished capturing audio for speech recognition

https://developer.mozilla.org/en-US/docs/Web/Events/audioend

func AudioStart

func AudioStart(handler func(*mogowk.EventData)) *mogowk.EventListener

AudioStart is a "audiostart" Event

Event - The user agent has started to capture audio for speech recognition

https://developer.mozilla.org/en-US/docs/Web/Events/audiostart

func BeforePrint

func BeforePrint(handler func(*mogowk.EventData)) *mogowk.EventListener

BeforePrint is a "beforeprint" Event

Event - The associated document is about to be printed or previewed for
printing

https://developer.mozilla.org/en-US/docs/Web/Events/beforeprint

func BeforeUnload

func BeforeUnload(handler func(*mogowk.EventData)) *mogowk.EventListener

BeforeUnload is a "beforeunload" Event

BeforeUnloadEvent - The window, the document and its resources are about to be
unloaded

https://developer.mozilla.org/en-US/docs/Web/Events/beforeunload

func BeginEvent

func BeginEvent(handler func(*mogowk.EventData)) *mogowk.EventListener

BeginEvent is a "beginEvent" Event

TimeEvent - A SMIL animation element begins

https://developer.mozilla.org/en-US/docs/Web/Events/beginEvent

func Blocked

func Blocked(handler func(*mogowk.EventData)) *mogowk.EventListener

Blocked is a "blocked" Event

Event - An open connection to a database is blocking a versionchange
transaction on the same database

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/blocked_indexedDB

func Blur

func Blur(handler func(*mogowk.EventData)) *mogowk.EventListener

Blur is a "blur" Event

FocusEvent - An element has lost focus (does not bubble)

https://developer.mozilla.org/en-US/docs/Web/Events/blur

func Boundary

func Boundary(handler func(*mogowk.EventData)) *mogowk.EventListener

Boundary is a "boundary" Event

SpeechSynthesisEvent - The spoken utterance reaches a word or sentence boundary

https://developer.mozilla.org/en-US/docs/Web/Events/boundary

func CanPlay

func CanPlay(handler func(*mogowk.EventData)) *mogowk.EventListener

CanPlay is a "canplay" Event

Event - The user agent can play the media, but estimates that not enough data
has been loaded to play the media up to its end without having to stop for
further buffering of content

https://developer.mozilla.org/en-US/docs/Web/Events/canplay

func CanPlayThrough

func CanPlayThrough(handler func(*mogowk.EventData)) *mogowk.EventListener

CanPlayThrough is a "canplaythrough" Event

Event - The user agent can play the media up to its end without having to stop
for further buffering of content

https://developer.mozilla.org/en-US/docs/Web/Events/canplaythrough

func Change

func Change(handler func(*mogowk.EventData)) *mogowk.EventListener

Change is a "change" Event

Event - The change event is fired for <input>, <select>, and <textarea>
elements when a change to the element's value is committed by the user

https://developer.mozilla.org/en-US/docs/Web/Events/change

func Click

func Click(handler func(*mogowk.EventData)) *mogowk.EventListener

Click is a "click" Event

MouseEvent - A pointing device button has been pressed and released on an
element

https://developer.mozilla.org/en-US/docs/Web/Events/click

func Close

func Close(handler func(*mogowk.EventData)) *mogowk.EventListener

Close is a "close" Event

Event - A WebSocket connection has been closed

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/close_websocket

func Complete

func Complete(handler func(*mogowk.EventData)) *mogowk.EventListener

Complete is a "complete" Event

Event - A transaction successfully completed
OfflineAudioCompletionEvent (Web Audio API) - The rendering of an
OfflineAudioContext is terminated",

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/complete_indexedDB https://developer.mozilla.org/en-US/docs/Web/Events/complete

func CompositionEnd

func CompositionEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

CompositionEnd is a "compositionend" Event

CompositionEvent - The composition of a passage of text has been completed or
canceled

https://developer.mozilla.org/en-US/docs/Web/Events/compositionend

func CompositionStart

func CompositionStart(handler func(*mogowk.EventData)) *mogowk.EventListener

CompositionStart is a "compositionstart" Event

CompositionEvent - The composition of a passage of text is prepared (similar to
keydown for a keyboard input, but works with other inputs such as speech
recognition)

https://developer.mozilla.org/en-US/docs/Web/Events/compositionstart

func CompositionUpdate

func CompositionUpdate(handler func(*mogowk.EventData)) *mogowk.EventListener

CompositionUpdate is a "compositionupdate" Event

CompositionEvent - A character is added to a passage of text being composed

https://developer.mozilla.org/en-US/docs/Web/Events/compositionupdate

func ContextMenu

func ContextMenu(handler func(*mogowk.EventData)) *mogowk.EventListener

ContextMenu is a "contextmenu" Event

MouseEvent - The right button of the mouse is clicked (before the context menu
is displayed)

https://developer.mozilla.org/en-US/docs/Web/Events/contextmenu

func Copy

func Copy(handler func(*mogowk.EventData)) *mogowk.EventListener

Copy is a "copy" Event

ClipboardEvent - The text selection has been added to the clipboard

https://developer.mozilla.org/en-US/docs/Web/Events/copy

func Cut

func Cut(handler func(*mogowk.EventData)) *mogowk.EventListener

Cut is a "cut" Event

ClipboardEvent - The text selection has been removed from the document and
added to the clipboard

https://developer.mozilla.org/en-US/docs/Web/Events/cut

func DOMContentLoaded

func DOMContentLoaded(handler func(*mogowk.EventData)) *mogowk.EventListener

DOMContentLoaded is a "DOMContentLoaded" Event

Event - The document has finished loading (but not its dependent resources)

https://developer.mozilla.org/en-US/docs/Web/Events/DOMContentLoaded

func DeviceChange

func DeviceChange(handler func(*mogowk.EventData)) *mogowk.EventListener

DeviceChange is a "devicechange" Event

Event - A media device such as a camera, microphone, or speaker is connected or
removed from the system

https://developer.mozilla.org/en-US/docs/Web/Events/devicechange

func DeviceMotion

func DeviceMotion(handler func(*mogowk.EventData)) *mogowk.EventListener

DeviceMotion is a "devicemotion" Event

DeviceMotionEvent - Fresh data is available from a motion sensor

https://developer.mozilla.org/en-US/docs/Web/Events/devicemotion

func DeviceOrientation

func DeviceOrientation(handler func(*mogowk.EventData)) *mogowk.EventListener

DeviceOrientation is a "deviceorientation" Event

DeviceOrientationEvent - Fresh data is available from an orientation sensor

https://developer.mozilla.org/en-US/docs/Web/Events/deviceorientation

func DoubleClick

func DoubleClick(handler func(*mogowk.EventData)) *mogowk.EventListener

DoubleClick is a "dblclick" Event

MouseEvent - A pointing device button is clicked twice on an element

https://developer.mozilla.org/en-US/docs/Web/Events/dblclick

func Drag

func Drag(handler func(*mogowk.EventData)) *mogowk.EventListener

Drag is a "drag" Event

DragEvent - An element or text selection is being dragged (every 350ms)

https://developer.mozilla.org/en-US/docs/Web/Events/drag

func DragEnd

func DragEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

DragEnd is a "dragend" Event

DragEvent - A drag operation is being ended (by releasing a mouse button or
hitting the escape key)

https://developer.mozilla.org/en-US/docs/Web/Events/dragend

func DragEnter

func DragEnter(handler func(*mogowk.EventData)) *mogowk.EventListener

DragEnter is a "dragenter" Event

DragEvent - A dragged element or text selection enters a valid drop target

https://developer.mozilla.org/en-US/docs/Web/Events/dragenter

func DragLeave added in v0.0.5

func DragLeave(handler func(*mogowk.EventData)) *mogowk.EventListener

DragLeave is a "dragleave" Event

DragEvent - A dragged element or text selection leaves a valid drop target

https://developer.mozilla.org/en-US/docs/Web/Events/dragleave

func DragOver

func DragOver(handler func(*mogowk.EventData)) *mogowk.EventListener

DragOver is a "dragover" Event

DragEvent - An element or text selection is being dragged over a valid drop
target
(fires every 350ms)

https://developer.mozilla.org/en-US/docs/Web/Events/dragover

func DragStart

func DragStart(handler func(*mogowk.EventData)) *mogowk.EventListener

DragStart is a "dragstart" Event

DragEvent - The user starts dragging an element or text selection

https://developer.mozilla.org/en-US/docs/Web/Events/dragstart

func Drop

func Drop(handler func(*mogowk.EventData)) *mogowk.EventListener

Drop is a "drop" Event

DragEvent - An element is dropped on a valid drop target

https://developer.mozilla.org/en-US/docs/Web/Events/drop

func DurationChange

func DurationChange(handler func(*mogowk.EventData)) *mogowk.EventListener

DurationChange is a "durationchange" Event

Event - The duration attribute has been updated

https://developer.mozilla.org/en-US/docs/Web/Events/durationchange

func Emptied

func Emptied(handler func(*mogowk.EventData)) *mogowk.EventListener

Emptied is a "emptied" Event

Event - The media has become empty For example, this event is triggered if the
media has already been loaded (or partially loaded), and the load() method is
called to reload it

https://developer.mozilla.org/en-US/docs/Web/Events/emptied

func End

func End(handler func(*mogowk.EventData)) *mogowk.EventListener

End is a "end" Event

Event (Web Speech API) - The speech recognition service has disconnected
SpeechSynthesisEvent (Web Speech API) - The utterance has finished being spoken

https://developer.mozilla.org/en-US/docs/Web/Events/end_(SpeechRecognition) https://developer.mozilla.org/en-US/docs/Web/Events/end_(SpeechSynthesis)

func EndEvent

func EndEvent(handler func(*mogowk.EventData)) *mogowk.EventListener

EndEvent is a "endEvent" Event

TimeEvent - A SMIL animation element ends

https://developer.mozilla.org/en-US/docs/Web/Events/endEvent

func Ended

func Ended(handler func(*mogowk.EventData)) *mogowk.EventListener

Ended is a "ended" Event

Event - Playback has stopped because the end of the media was reached
Event - (Web Audio API) Playback has stopped because the end of the media was
reached

https://developer.mozilla.org/en-US/docs/Web/Events/ended https://developer.mozilla.org/en-US/docs/Web/Events/ended_(Web_Audio)

func Error

func Error(handler func(*mogowk.EventData)) *mogowk.EventListener

Error is a "error" Event

UIEvent - A resource failed to load
Event (IndexedDB) - A request caused an error and failed
Event (Server Sent Events) - An event source connection has been failed
Event (Web Speech API) - A speech recognition error occurs
Event (SpeechSynthesisErrorEvent) - An error occurs that prevents the utterance
from being successfully spoken
Event (WebSocket) - A WebSocket connection has been closed with prejudice
ProgressEvent (XMLHttpRequest) - Progression has failed

https://developer.mozilla.org/en-US/docs/Web/Events/error https://developer.mozilla.org/en-US/docs/Web/Events/error_(SpeechRecognitionError) https://developer.mozilla.org/en-US/docs/Web/Events/error_(SpeechSynthesisError)

func Focus

func Focus(handler func(*mogowk.EventData)) *mogowk.EventListener

Focus is a "focus" Event

FocusEvent - An element has received focus (does not bubble)

https://developer.mozilla.org/en-US/docs/Web/Events/focus

func FocusIn

func FocusIn(handler func(*mogowk.EventData)) *mogowk.EventListener

FocusIn is a "focusin" Event

FocusEvent - An element is about to receive focus (bubbles)

https://developer.mozilla.org/en-US/docs/Web/Events/focusin

func FocusOut

func FocusOut(handler func(*mogowk.EventData)) *mogowk.EventListener

FocusOut is a "focusout" Event

FocusEvent - An element is about to lose focus (bubbles)

https://developer.mozilla.org/en-US/docs/Web/Events/focusout

func FullScreenChange

func FullScreenChange(handler func(*mogowk.EventData)) *mogowk.EventListener

FullScreenChange is a "fullscreenchange" Event

Event - An element was toggled to or from fullscreen mode

https://developer.mozilla.org/en-US/docs/Web/Events/fullscreenchange

func FullScreenError

func FullScreenError(handler func(*mogowk.EventData)) *mogowk.EventListener

FullScreenError is a "fullscreenerror" Event

Event - It was impossible to switch to fullscreen mode for technical reasons or
because the permission was denied

https://developer.mozilla.org/en-US/docs/Web/Events/fullscreenerror

func GamepadConnected

func GamepadConnected(handler func(*mogowk.EventData)) *mogowk.EventListener

GamepadConnected is a "gamepadconnected" Event

GamepadEvent - A gamepad has been connected

https://developer.mozilla.org/en-US/docs/Web/Events/gamepadconnected

func GamepadDisconnected

func GamepadDisconnected(handler func(*mogowk.EventData)) *mogowk.EventListener

GamepadDisconnected is a "gamepaddisconnected" Event

GamepadEvent - A gamepad has been disconnected

https://developer.mozilla.org/en-US/docs/Web/Events/gamepaddisconnected

func GotPointerCapture

func GotPointerCapture(handler func(*mogowk.EventData)) *mogowk.EventListener

GotPointerCapture is a "gotpointercapture" Event

PointerEvent - Element receives pointer capture

https://developer.mozilla.org/en-US/docs/Web/Events/gotpointercapture

func HashChange

func HashChange(handler func(*mogowk.EventData)) *mogowk.EventListener

HashChange is a "hashchange" Event

HashChangeEvent - The fragment identifier of the URL has changed (the part of
the URL after the #)

https://developer.mozilla.org/en-US/docs/Web/Events/hashchange

func Input

func Input(handler func(*mogowk.EventData)) *mogowk.EventListener

Input is a "input" Event

Event - The value of an element changes or the content of an element with the
attribute contenteditable is modified

https://developer.mozilla.org/en-US/docs/Web/Events/input

func Invalid

func Invalid(handler func(*mogowk.EventData)) *mogowk.EventListener

Invalid is a "invalid" Event

Event - A submittable element has been checked and doesn't satisfy its
constraints

https://developer.mozilla.org/en-US/docs/Web/Events/invalid

func KeyDown

func KeyDown(handler func(*mogowk.EventData)) *mogowk.EventListener

KeyDown is a "keydown" Event

KeyboardEvent - A key is pressed down

https://developer.mozilla.org/en-US/docs/Web/Events/keydown

func KeyUp

func KeyUp(handler func(*mogowk.EventData)) *mogowk.EventListener

KeyUp is a "keyup" Event

KeyboardEvent - A key is released

https://developer.mozilla.org/en-US/docs/Web/Events/keyup

func LanguageChange

func LanguageChange(handler func(*mogowk.EventData)) *mogowk.EventListener

LanguageChange is a "languagechange" Event

The user's preferred languages have changed

https://developer.mozilla.org/en-US/docs/Web/Events/languagechange

func Load

func Load(handler func(*mogowk.EventData)) *mogowk.EventListener

Load is a "load" Event

UIEvent - A resource and its dependent resources have finished loading
ProgressEvent (XMLHttpRequest) - Progression has been successful

https://developer.mozilla.org/en-US/docs/Web/Events/load https://developer.mozilla.org/en-US/docs/Web/Reference/Events/load_(ProgressEvent)

func LoadEnd

func LoadEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

LoadEnd is a "loadend" Event

ProgressEvent - Progress has stopped (after "error", "abort", or "load" have
been dispatched)

https://developer.mozilla.org/en-US/docs/Web/Events/loadend

func LoadStart

func LoadStart(handler func(*mogowk.EventData)) *mogowk.EventListener

LoadStart is a "loadstart" Event

ProgressEvent - Progress has begun

https://developer.mozilla.org/en-US/docs/Web/Events/loadstart

func LoadedData

func LoadedData(handler func(*mogowk.EventData)) *mogowk.EventListener

LoadedData is a "loadeddata" Event

Event - The first frame of the media has finished loading

https://developer.mozilla.org/en-US/docs/Web/Events/loadeddata

func LoadedMetaData

func LoadedMetaData(handler func(*mogowk.EventData)) *mogowk.EventListener

LoadedMetaData is a "loadedmetadata" Event

Event - The metadata has been loaded

https://developer.mozilla.org/en-US/docs/Web/Events/loadedmetadata

func LostPointerCapture

func LostPointerCapture(handler func(*mogowk.EventData)) *mogowk.EventListener

LostPointerCapture is a "lostpointercapture" Event

PointerEvent - Element lost pointer capture

https://developer.mozilla.org/en-US/docs/Web/Events/lostpointercapture

func Mark

func Mark(handler func(*mogowk.EventData)) *mogowk.EventListener

Mark is a "mark" Event

SpeechSynthesisEvent - The spoken utterance reaches a named SSML "mark" tag

https://developer.mozilla.org/en-US/docs/Web/Events/mark

func Message

func Message(handler func(*mogowk.EventData)) *mogowk.EventListener

Message is a "message" Event

MessageEvent - A message is received through an event source
ServiceWorkerMessageEvent (Service Workers) - A message is received from a
service worker, or a message is received in a service worker from another
context
MessageEvent (Web Workers) - A message is received from a Web Worker
MessageEvent (WebSocket) - A message is received through a WebSocket

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/message_serversentevents https://developer.mozilla.org/en-US/docs/Web/Events/message_(ServiceWorker) https://developer.mozilla.org/en-US/docs/Web/Reference/Events/message_webworker https://developer.mozilla.org/en-US/docs/Web/Reference/Events/message_websocket

func MessageError

func MessageError(handler func(*mogowk.EventData)) *mogowk.EventListener

MessageError is a "messageerror" Event

MessageEvent - A message error is raised when a message is received by an
object

https://developer.mozilla.org/en-US/docs/Web/Events/messageerror

func MouseDown

func MouseDown(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseDown is a "mousedown" Event

MouseEvent - A pointing device button (usually a mouse) is pressed on an
element

https://developer.mozilla.org/en-US/docs/Web/Events/mousedown

func MouseEnter

func MouseEnter(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseEnter is a "mouseenter" Event

MouseEvent - A pointing device is moved onto the element that has the listener
attached

https://developer.mozilla.org/en-US/docs/Web/Events/mouseenter

func MouseLeave

func MouseLeave(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseLeave is a "mouseleave" Event

MouseEvent - A pointing device is moved off the element that has the listener
attached

https://developer.mozilla.org/en-US/docs/Web/Events/mouseleave

func MouseMove

func MouseMove(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseMove is a "mousemove" Event

MouseEvent - A pointing device is moved over an element

https://developer.mozilla.org/en-US/docs/Web/Events/mousemove

func MouseOut

func MouseOut(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseOut is a "mouseout" Event

MouseEvent - A pointing device is moved off the element that has the listener
attached or off one of its children

https://developer.mozilla.org/en-US/docs/Web/Events/mouseout

func MouseOver

func MouseOver(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseOver is a "mouseover" Event

MouseEvent - A pointing device is moved onto the element that has the listener
attached or onto one of its children

https://developer.mozilla.org/en-US/docs/Web/Events/mouseover

func MouseUp

func MouseUp(handler func(*mogowk.EventData)) *mogowk.EventListener

MouseUp is a "mouseup" Event

MouseEvent - A pointing device button is released over an element

https://developer.mozilla.org/en-US/docs/Web/Events/mouseup

func NoMatch

func NoMatch(handler func(*mogowk.EventData)) *mogowk.EventListener

NoMatch is a "nomatch" Event

SpeechRecognitionEvent - The speech recognition service returns a final result
with no significant recognition

https://developer.mozilla.org/en-US/docs/Web/Events/nomatch

func NotificationClick

func NotificationClick(handler func(*mogowk.EventData)) *mogowk.EventListener

NotificationClick is a "notificationclick" Event

NotificationEvent - A system notification spawned by
ServiceWorkerRegistrationshowNotification() has been clicked

https://developer.mozilla.org/en-US/docs/Web/Events/notificationclick

func Offline

func Offline(handler func(*mogowk.EventData)) *mogowk.EventListener

Offline is a "offline" Event

Event - The browser has lost access to the network

https://developer.mozilla.org/en-US/docs/Web/Events/offline

func Online

func Online(handler func(*mogowk.EventData)) *mogowk.EventListener

Online is a "online" Event

Event - The browser has gained access to the network (but particular websites
might be unreachable)

https://developer.mozilla.org/en-US/docs/Web/Events/online

func Open

func Open(handler func(*mogowk.EventData)) *mogowk.EventListener

Open is a "open" Event

Event - An event source connection has been established
Event (WebSocket) - A WebSocket connection has been established

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/open_serversentevents https://developer.mozilla.org/en-US/docs/Web/Reference/Events/open_websocket

func OrientationChange

func OrientationChange(handler func(*mogowk.EventData)) *mogowk.EventListener

OrientationChange is a "orientationchange" Event

Event - The orientation of the device (portrait/landscape) has changed

https://developer.mozilla.org/en-US/docs/Web/Events/orientationchange

func PageHide

func PageHide(handler func(*mogowk.EventData)) *mogowk.EventListener

PageHide is a "pagehide" Event

PageTransitionEvent - A session history entry is being traversed from

https://developer.mozilla.org/en-US/docs/Web/Events/pagehide

func PageShow

func PageShow(handler func(*mogowk.EventData)) *mogowk.EventListener

PageShow is a "pageshow" Event

PageTransitionEvent - A session history entry is being traversed to

https://developer.mozilla.org/en-US/docs/Web/Events/pageshow

func Paste

func Paste(handler func(*mogowk.EventData)) *mogowk.EventListener

Paste is a "paste" Event

ClipboardEvent - Data has been transferred from the system clipboard to the
document

https://developer.mozilla.org/en-US/docs/Web/Events/paste

func Pause

func Pause(handler func(*mogowk.EventData)) *mogowk.EventListener

Pause is a "pause" Event

Event - Playback has been paused
SpeechSynthesisEvent (Web Speech API) - The utterance is paused part way
through

https://developer.mozilla.org/en-US/docs/Web/Events/pause https://developer.mozilla.org/en-US/docs/Web/Events/pause_(SpeechSynthesis)

func Play

func Play(handler func(*mogowk.EventData)) *mogowk.EventListener

Play is a "play" Event

Event - Playback has begun

https://developer.mozilla.org/en-US/docs/Web/Events/play

func Playing

func Playing(handler func(*mogowk.EventData)) *mogowk.EventListener

Playing is a "playing" Event

Event - Playback is ready to start after having been paused or delayed due to
lack of data

https://developer.mozilla.org/en-US/docs/Web/Events/playing

func PointerCancel

func PointerCancel(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerCancel is a "pointercancel" Event

PointerEvent - The pointer is unlikely to produce any more events

https://developer.mozilla.org/en-US/docs/Web/Events/pointercancel

func PointerDown

func PointerDown(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerDown is a "pointerdown" Event

PointerEvent - The pointer enters the active buttons state

https://developer.mozilla.org/en-US/docs/Web/Events/pointerdown

func PointerEnter

func PointerEnter(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerEnter is a "pointerenter" Event

PointerEvent - Pointing device is moved inside the hit-testing boundary

https://developer.mozilla.org/en-US/docs/Web/Events/pointerenter

func PointerLeave

func PointerLeave(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerLeave is a "pointerleave" Event

PointerEvent - Pointing device is moved out of the hit-testing boundary

https://developer.mozilla.org/en-US/docs/Web/Events/pointerleave

func PointerLockChange

func PointerLockChange(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerLockChange is a "pointerlockchange" Event

Event - The pointer was locked or released

https://developer.mozilla.org/en-US/docs/Web/Events/pointerlockchange

func PointerLockError

func PointerLockError(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerLockError is a "pointerlockerror" Event

Event - It was impossible to lock the pointer for technical reasons or because
the permission was denied

https://developer.mozilla.org/en-US/docs/Web/Events/pointerlockerror

func PointerMove

func PointerMove(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerMove is a "pointermove" Event

PointerEvent - The pointer changed coordinates

https://developer.mozilla.org/en-US/docs/Web/Events/pointermove

func PointerOut

func PointerOut(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerOut is a "pointerout" Event

PointerEvent - The pointing device moved out of hit-testing boundary or leaves
detectable hover range

https://developer.mozilla.org/en-US/docs/Web/Events/pointerout

func PointerOver

func PointerOver(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerOver is a "pointerover" Event

PointerEvent - The pointing device is moved into the hit-testing boundary

https://developer.mozilla.org/en-US/docs/Web/Events/pointerover

func PointerUp

func PointerUp(handler func(*mogowk.EventData)) *mogowk.EventListener

PointerUp is a "pointerup" Event

PointerEvent - The pointer leaves the active buttons state

https://developer.mozilla.org/en-US/docs/Web/Events/pointerup

func PopState

func PopState(handler func(*mogowk.EventData)) *mogowk.EventListener

PopState is a "popstate" Event

PopStateEvent - Fired when the active history entry changes while the user
navigates the session history

https://developer.mozilla.org/en-US/docs/Web/Events/popstate

func Progress

func Progress(handler func(*mogowk.EventData)) *mogowk.EventListener

Progress is a "progress" Event

ProgressEvent - In progress

https://developer.mozilla.org/en-US/docs/Web/Events/progress

func Push

func Push(handler func(*mogowk.EventData)) *mogowk.EventListener

Push is a "push" Event

PushEvent - A Service Worker has received a push message

https://developer.mozilla.org/en-US/docs/Web/Events/push

func PushSubscriptionChange

func PushSubscriptionChange(handler func(*mogowk.EventData)) *mogowk.EventListener

PushSubscriptionChange is a "pushsubscriptionchange" Event

PushEvent - A PushSubscription has expired

https://developer.mozilla.org/en-US/docs/Web/Events/pushsubscriptionchange

func RateChange

func RateChange(handler func(*mogowk.EventData)) *mogowk.EventListener

RateChange is a "ratechange" Event

Event - The playback rate has changed

https://developer.mozilla.org/en-US/docs/Web/Events/ratechange

func ReadyStateChange

func ReadyStateChange(handler func(*mogowk.EventData)) *mogowk.EventListener

ReadyStateChange is a "readystatechange" Event

Event - The readyState attribute of a document has changed
Event (XMLHttpRequest) - The readyState attribute of a document has changed

https://developer.mozilla.org/en-US/docs/Web/Events/readystatechange https://developer.mozilla.org/en-US/docs/Web/Events/readystatechange

func RepeatEvent

func RepeatEvent(handler func(*mogowk.EventData)) *mogowk.EventListener

RepeatEvent is a "repeatEvent" Event

TimeEvent - A SMIL animation element is repeated

https://developer.mozilla.org/en-US/docs/Web/Events/repeatEvent

func Reset

func Reset(handler func(*mogowk.EventData)) *mogowk.EventListener

Reset is a "reset" Event

Event - A form is reset

https://developer.mozilla.org/en-US/docs/Web/Events/reset

func Resize

func Resize(handler func(*mogowk.EventData)) *mogowk.EventListener

Resize is a "resize" Event

UIEvent - The document view has been resized

https://developer.mozilla.org/en-US/docs/Web/Events/resize

func ResourceTimingBufferFull

func ResourceTimingBufferFull(handler func(*mogowk.EventData)) *mogowk.EventListener

ResourceTimingBufferFull is a "resourcetimingbufferfull" Event

Performance - The browser's resource timing buffer is full

https://developer.mozilla.org/en-US/docs/Web/Events/resourcetimingbufferfull

func Result

func Result(handler func(*mogowk.EventData)) *mogowk.EventListener

Result is a "result" Event

SpeechRecognitionEvent - The speech recognition service returns a result — a
word or phrase has been positively recognized and this has been communicated
back to the app

https://developer.mozilla.org/en-US/docs/Web/Events/result

func Resume

func Resume(handler func(*mogowk.EventData)) *mogowk.EventListener

Resume is a "resume" Event

SpeechSynthesisEvent - A paused utterance is resumed

https://developer.mozilla.org/en-US/docs/Web/Events/resume

func SVGAbort

func SVGAbort(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGAbort is a "SVGAbort" Event

SVGEvent - Page loading has been stopped before the SVG was loaded

https://developer.mozilla.org/en-US/docs/Web/Events/SVGAbort

func SVGError

func SVGError(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGError is a "SVGError" Event

SVGEvent - An error has occurred before the SVG was loaded

https://developer.mozilla.org/en-US/docs/Web/Events/SVGError

func SVGLoad

func SVGLoad(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGLoad is a "SVGLoad" Event

SVGEvent - An SVG document has been loaded and parsed

https://developer.mozilla.org/en-US/docs/Web/Events/SVGLoad

func SVGResize

func SVGResize(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGResize is a "SVGResize" Event

SVGEvent - An SVG document is being resized

https://developer.mozilla.org/en-US/docs/Web/Events/SVGResize

func SVGScroll

func SVGScroll(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGScroll is a "SVGScroll" Event

SVGEvent - An SVG document is being scrolled

https://developer.mozilla.org/en-US/docs/Web/Events/SVGScroll

func SVGUnload

func SVGUnload(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGUnload is a "SVGUnload" Event

SVGEvent - An SVG document has been removed from a window or frame

https://developer.mozilla.org/en-US/docs/Web/Events/SVGUnload

func SVGZoom

func SVGZoom(handler func(*mogowk.EventData)) *mogowk.EventListener

SVGZoom is a "SVGZoom" Event

SVGZoomEvent - An SVG document is being zoomed

https://developer.mozilla.org/en-US/docs/Web/Events/SVGZoom

func Scroll

func Scroll(handler func(*mogowk.EventData)) *mogowk.EventListener

Scroll is a "scroll" Event

UIEvent - The document view or an element has been scrolled

https://developer.mozilla.org/en-US/docs/Web/Events/scroll

func Seeked

func Seeked(handler func(*mogowk.EventData)) *mogowk.EventListener

Seeked is a "seeked" Event

Event - A seek operation completed

https://developer.mozilla.org/en-US/docs/Web/Events/seeked

func Seeking

func Seeking(handler func(*mogowk.EventData)) *mogowk.EventListener

Seeking is a "seeking" Event

Event - A seek operation began

https://developer.mozilla.org/en-US/docs/Web/Events/seeking

func Select

func Select(handler func(*mogowk.EventData)) *mogowk.EventListener

Select is a "select" Event

UIEvent - Some text is being selected

https://developer.mozilla.org/en-US/docs/Web/Events/select

func SelectStart

func SelectStart(handler func(*mogowk.EventData)) *mogowk.EventListener

SelectStart is a "selectstart" Event

Event - A selection just started

https://developer.mozilla.org/en-US/docs/Web/API/Document/selectstart_event

func SelectionChange

func SelectionChange(handler func(*mogowk.EventData)) *mogowk.EventListener

SelectionChange is a "selectionchange" Event

Event - The selection in the document has been changed

https://developer.mozilla.org/en-US/docs/Web/API/Document/selectionchange_event

func Show

func Show(handler func(*mogowk.EventData)) *mogowk.EventListener

Show is a "show" Event

MouseEvent - A contextmenu event was fired on (or bubbled to) an element that
has a contextmenu attribute

https://developer.mozilla.org/en-US/docs/Web/Events/show

func SlotChange

func SlotChange(handler func(*mogowk.EventData)) *mogowk.EventListener

SlotChange is a "slotchange" Event

The node contents of a HTMLSlotElement (<slot>) have changed.

https://developer.mozilla.org/en-US/docs/Web/Events/slotchange

func SoundEnd

func SoundEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

SoundEnd is a "soundend" Event

Event - Any sound — recognizable speech or not — has stopped being detected

https://developer.mozilla.org/en-US/docs/Web/Events/soundend

func SoundStart

func SoundStart(handler func(*mogowk.EventData)) *mogowk.EventListener

SoundStart is a "soundstart" Event

Event - Any sound — recognizable speech or not — has been detected

https://developer.mozilla.org/en-US/docs/Web/Events/soundstart

func SpeechEnd

func SpeechEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

SpeechEnd is a "speechend" Event

Event - Speech recognized by the speech recognition service has stopped being
detected

https://developer.mozilla.org/en-US/docs/Web/Events/speechend

func SpeechStart

func SpeechStart(handler func(*mogowk.EventData)) *mogowk.EventListener

SpeechStart is a "speechstart" Event

Event - Sound that is recognized by the speech recognition service as speech
has been detected

https://developer.mozilla.org/en-US/docs/Web/Events/speechstart

func Stalled

func Stalled(handler func(*mogowk.EventData)) *mogowk.EventListener

Stalled is a "stalled" Event

Event - The user agent is trying to fetch media data, but data is unexpectedly
not forthcoming

https://developer.mozilla.org/en-US/docs/Web/Events/stalled

func Start

func Start(handler func(*mogowk.EventData)) *mogowk.EventListener

Start is a "start" Event

Event - The speech recognition service has begun listening to incoming audio
with intent to recognize grammars associated with the current SpeechRecognition
SpeechSynthesisEvent (Web Speech API) - The utterance has begun to be spoken

https://developer.mozilla.org/en-US/docs/Web/Events/start_(SpeechRecognition) https://developer.mozilla.org/en-US/docs/Web/Events/start_(SpeechSynthesis)

func Storage

func Storage(handler func(*mogowk.EventData)) *mogowk.EventListener

Storage is a "storage" Event

StorageEvent - A storage area (localStorage or sessionStorage) has changed

https://developer.mozilla.org/en-US/docs/Web/Events/storage

func Submit

func Submit(handler func(*mogowk.EventData)) *mogowk.EventListener

Submit is a "submit" Event

Event - A form is submitted

https://developer.mozilla.org/en-US/docs/Web/Events/submit

func Success

func Success(handler func(*mogowk.EventData)) *mogowk.EventListener

Success is a "success" Event

Event - A request successfully completed

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/success_indexedDB

func Suspend

func Suspend(handler func(*mogowk.EventData)) *mogowk.EventListener

Suspend is a "suspend" Event

Event - Media data loading has been suspended

https://developer.mozilla.org/en-US/docs/Web/Events/suspend

func TimeUpdate

func TimeUpdate(handler func(*mogowk.EventData)) *mogowk.EventListener

TimeUpdate is a "timeupdate" Event

Event - The time indicated by the currentTime attribute has been updated

https://developer.mozilla.org/en-US/docs/Web/Events/timeupdate

func Timeout

func Timeout(handler func(*mogowk.EventData)) *mogowk.EventListener

Timeout is a "timeout" Event

ProgressEvent - Progression is terminated due to preset time expiring.

https://developer.mozilla.org/en-US/docs/Web/Events/timeout

func TouchCancel

func TouchCancel(handler func(*mogowk.EventData)) *mogowk.EventListener

TouchCancel is a "touchcancel" Event

TouchEvent - A touch point has been disrupted in an implementation-specific
manner (too many touch points, for example)

https://developer.mozilla.org/en-US/docs/Web/Events/touchcancel

func TouchEnd

func TouchEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

TouchEnd is a "touchend" Event

TouchEvent - A touch point is removed from the touch surface

https://developer.mozilla.org/en-US/docs/Web/Events/touchend

func TouchMove

func TouchMove(handler func(*mogowk.EventData)) *mogowk.EventListener

TouchMove is a "touchmove" Event

TouchEvent - A touch point is moved along the touch surface

https://developer.mozilla.org/en-US/docs/Web/Events/touchmove

func TouchStart

func TouchStart(handler func(*mogowk.EventData)) *mogowk.EventListener

TouchStart is a "touchstart" Event

TouchEvent - A touch point is placed on the touch surface

https://developer.mozilla.org/en-US/docs/Web/Events/touchstart

func TransitionEnd

func TransitionEnd(handler func(*mogowk.EventData)) *mogowk.EventListener

TransitionEnd is a "transitionend" Event

TransitionEvent - A CSS transition has completed.

https://developer.mozilla.org/en-US/docs/Web/Events/transitionend

func Unload

func Unload(handler func(*mogowk.EventData)) *mogowk.EventListener

Unload is a "unload" Event

UIEvent - The document or a dependent resource is being unloaded

https://developer.mozilla.org/en-US/docs/Web/Events/unload

func UpgradeNeeded

func UpgradeNeeded(handler func(*mogowk.EventData)) *mogowk.EventListener

UpgradeNeeded is a "upgradeneeded" Event

Event - An attempt was made to open a database with a version number higher
than its current version A versionchange transaction has been created

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/upgradeneeded_indexedDB

func VersionChange

func VersionChange(handler func(*mogowk.EventData)) *mogowk.EventListener

VersionChange is a "versionchange" Event

Event - A versionchange transaction completed

https://developer.mozilla.org/en-US/docs/Web/Reference/Events/versionchange_indexedDB

func VisibilityChange

func VisibilityChange(handler func(*mogowk.EventData)) *mogowk.EventListener

VisibilityChange is a "visibilitychange" Event

Event - The content of a tab has become visible or has been hidden

https://developer.mozilla.org/en-US/docs/Web/Events/visibilitychange

func VoicesChanged

func VoicesChanged(handler func(*mogowk.EventData)) *mogowk.EventListener

VoicesChanged is a "voiceschanged" Event

Event - The list of SpeechSynthesisVoice objects that would be returned by the
SpeechSynthesisgetVoices() method has changed (when the voiceschanged event
fires)

https://developer.mozilla.org/en-US/docs/Web/Events/voiceschanged

func VolumeChange

func VolumeChange(handler func(*mogowk.EventData)) *mogowk.EventListener

VolumeChange is a "volumechange" Event

Event - The volume has changed

https://developer.mozilla.org/en-US/docs/Web/Events/volumechange

func Waiting

func Waiting(handler func(*mogowk.EventData)) *mogowk.EventListener

Waiting is a "waiting" Event

Event - Playback has stopped because of a temporary lack of data

https://developer.mozilla.org/en-US/docs/Web/Events/waiting

func Wheel

func Wheel(handler func(*mogowk.EventData)) *mogowk.EventListener

Wheel is a "wheel" Event

WheelEvent - A wheel button of a pointing device is rotated in any direction

https://developer.mozilla.org/en-US/docs/Web/Events/wheel

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL