[][src]Trait augdom::event::Event

pub trait Event: AsRef<Event> + JsCast {
    const NAME: &'static str;

    fn dispatch(target: &EventTarget);
}

An event that can be received as the first argument to a handler callback.

Associated Constants

const NAME: &'static str

The name used to register for this event in addEventListener.

Loading content...

Required methods

fn dispatch(target: &EventTarget)

Dispatch a new event of this type to the provided target.

Loading content...

Implementors

impl Event for Abort[src]

impl Event for AbortProgress[src]

impl Event for AbortTransaction[src]

impl Event for AfterPrint[src]

impl Event for AnimationCancel[src]

impl Event for AnimationEnd[src]

impl Event for AnimationIteration[src]

impl Event for AnimationStart[src]

impl Event for AppInstalled[src]

impl Event for AudioEnd[src]

impl Event for AudioEnded[src]

impl Event for AudioStart[src]

impl Event for BeforePrint[src]

impl Event for Blur[src]

impl Event for CanPlay[src]

impl Event for CanPlayThrough[src]

impl Event for Cancel[src]

impl Event for Change[src]

impl Event for ChargingChange[src]

impl Event for ChargingTime[src]

impl Event for ChildMessage[src]

impl Event for Click[src]

impl Event for CloseWebsocket[src]

impl Event for CompositionEnd[src]

impl Event for CompositionStart[src]

impl Event for CompositionUpdate[src]

impl Event for ConnectionBlocked[src]

impl Event for ContextMenu[src]

impl Event for ContextMenuShow[src]

impl Event for CueChange[src]

impl Event for DataLoaded[src]

impl Event for DeviceChange[src]

impl Event for DeviceMotion[src]

impl Event for DeviceOrientation[src]

impl Event for DischargingTime[src]

impl Event for DomContentLoaded[src]

impl Event for DoubleClick[src]

impl Event for Drag[src]

impl Event for DragEnd[src]

impl Event for DragEnter[src]

impl Event for DragExit[src]

impl Event for DragLeave[src]

impl Event for DragOver[src]

impl Event for DragStart[src]

impl Event for Dropped[src]

impl Event for DurationChange[src]

impl Event for Emptied[src]

impl Event for ErrorEvent[src]

impl Event for EventSourceError[src]

impl Event for EventSourceMessage[src]

impl Event for EventSourceOpen[src]

impl Event for Focus[src]

impl Event for FocusIn[src]

impl Event for FocusOut[src]

impl Event for FormReset[src]

impl Event for FullscreenChange[src]

impl Event for FullscreenError[src]

impl Event for GamepadConnected[src]

impl Event for GamepadDisconnected[src]

impl Event for GotPointerCapture[src]

impl Event for HashChange[src]

impl Event for Input[src]

impl Event for Invalid[src]

impl Event for KeyDown[src]

impl Event for KeyPress[src]

impl Event for KeyUp[src]

impl Event for LanguageChange[src]

impl Event for LevelChange[src]

impl Event for LoadEnd[src]

impl Event for LoadStart[src]

impl Event for LostPointerCapture[src]

impl Event for MessageError[src]

impl Event for MetadataLoaded[src]

impl Event for MouseDown[src]

impl Event for MouseEnter[src]

impl Event for MouseLeave[src]

impl Event for MouseMove[src]

impl Event for MouseOut[src]

impl Event for MouseOver[src]

impl Event for MouseUp[src]

impl Event for Offline[src]

impl Event for Online[src]

impl Event for OrientationChange[src]

impl Event for PageHide[src]

impl Event for PageShow[src]

impl Event for Pause[src]

impl Event for Play[src]

impl Event for PlaybackEnded[src]

impl Event for PlaybackRateChange[src]

impl Event for Playing[src]

impl Event for PointerCancel[src]

impl Event for PointerDown[src]

impl Event for PointerEnter[src]

impl Event for PointerLeave[src]

impl Event for PointerLockChange[src]

impl Event for PointerLockError[src]

impl Event for PointerMove[src]

impl Event for PointerOut[src]

impl Event for PointerOver[src]

impl Event for PointerUp[src]

impl Event for PopState[src]

impl Event for Progress[src]

impl Event for ProgressError[src]

impl Event for ProgressLoad[src]

impl Event for Push[src]

impl Event for PushSubscriptionChange[src]

impl Event for ReadyStateChange[src]

impl Event for RequestError[src]

impl Event for ResourceError[src]

impl Event for ResourceLoad[src]

impl Event for Scroll[src]

impl Event for Seeked[src]

impl Event for Seeking[src]

impl Event for Select[src]

impl Event for SelectionChange[src]

impl Event for SelectionStart[src]

impl Event for ServiceWorkerMessage[src]

impl Event for SlotChange[src]

impl Event for SoundEnd[src]

impl Event for SoundStart[src]

impl Event for SpeechEnd[src]

impl Event for SpeechRecognitionEnd[src]

impl Event for SpeechRecognitionError[src]

impl Event for SpeechRecognitionNoMatch[src]

impl Event for SpeechRecognitionResult[src]

impl Event for SpeechRecognitionStart[src]

impl Event for SpeechRecognized[src]

impl Event for Stalled[src]

impl Event for Storage[src]

impl Event for Submit[src]

impl Event for Success[src]

impl Event for Suspend[src]

impl Event for SvgAbort[src]

impl Event for SvgError[src]

impl Event for SvgLoad[src]

impl Event for SvgResize[src]

impl Event for SvgScroll[src]

impl Event for SvgUnload[src]

impl Event for SvgZoom[src]

impl Event for TimeUpdate[src]

impl Event for Timeout[src]

impl Event for TimingBufferFull[src]

impl Event for TouchCancel[src]

impl Event for TouchEnd[src]

impl Event for TouchMove[src]

impl Event for TouchStart[src]

impl Event for TransactionComplete[src]

impl Event for TransactionVersionChange[src]

impl Event for TransitionEnd[src]

impl Event for Unload[src]

impl Event for UpgradeNeeded[src]

impl Event for UserProximity[src]

impl Event for ViewResize[src]

impl Event for VisibilityChange[src]

impl Event for VoicesChanged[src]

impl Event for VolumeChange[src]

impl Event for Waiting[src]

impl Event for WebsocketError[src]

impl Event for WebsocketMessage[src]

impl Event for WebsocketOpen[src]

impl Event for Wheel[src]

impl Event for WorkerMessage[src]

Loading content...