Definition
DOM Standard defines Event
[Exposed=*]
interface Event {
constructor(DOMString type, optional EventInit eventInitDict = {});
readonly attribute DOMString type;
readonly attribute EventTarget? target;
readonly attribute EventTarget? srcElement; // legacy
readonly attribute EventTarget? currentTarget;
sequence<EventTarget> composedPath();
const unsigned short NONE = 0;
const unsigned short CAPTURING_PHASE = 1;
const unsigned short AT_TARGET = 2;
const unsigned short BUBBLING_PHASE = 3;
readonly attribute unsigned short eventPhase;
undefined stopPropagation();
attribute boolean cancelBubble; // legacy alias of .stopPropagation()
undefined stopImmediatePropagation();
readonly attribute boolean bubbles;
readonly attribute boolean cancelable;
attribute boolean returnValue; // legacy
undefined preventDefault();
readonly attribute boolean defaultPrevented;
readonly attribute boolean composed;
[LegacyUnforgeable] readonly attribute boolean isTrusted;
readonly attribute DOMHighResTimeStamp timeStamp;
undefined initEvent(DOMString type, optional boolean bubbles = false, optional boolean cancelable = false); // legacy
};
Methods and attributes that return objects implementing Event
Referring IDL interfaces/dictionaries
AnimationEvent
AnimationPlaybackEvent
AudioProcessingEvent
AudioRenderCapacityEvent
BeforeInstallPromptEvent
BeforeUnloadEvent
BlobEvent
BluetoothAdvertisingEvent
BufferedChangeEvent
CaptureActionEvent
CapturedMouseEvent
CharacterBoundsUpdateEvent
ClipboardEvent
CloseEvent
ContentVisibilityAutoStateChangeEvent
CookieChangeEvent
CustomEvent
DeviceChangeEvent
DeviceMotionEvent
DeviceOrientationEvent
Document
DocumentPictureInPictureEvent
ErrorEvent
EventListener
EventTarget
ExtendableEvent
Fence
FontFaceSetLoadEvent
FormDataEvent
GPUUncapturedErrorEvent
GamepadEvent
HIDConnectionEvent
HIDInputReportEvent
HashChangeEvent
IDBVersionChangeEvent
KeyFrameRequestEvent
MIDIConnectionEvent
MIDIMessageEvent
MediaEncryptedEvent
MediaKeyMessageEvent
MediaQueryListEvent
MediaStreamTrackEvent
MessageEvent
NDEFReadingEvent
NavigateEvent
NavigationCurrentEntryChangeEvent
OfflineAudioCompletionEvent
PageRevealEvent
PageSwapEvent
PageTransitionEvent
PaymentRequestUpdateEvent
PictureInPictureEvent
PopStateEvent
PortalActivateEvent
PresentationConnectionAvailableEvent
PresentationConnectionCloseEvent
ProgressEvent
PromiseRejectionEvent
RTCDTMFToneChangeEvent
RTCDataChannelEvent
RTCErrorEvent
RTCPeerConnectionIceErrorEvent
RTCPeerConnectionIceEvent
RTCTrackEvent
RTCTransformEvent
SFrameTransformErrorEvent
SecurityPolicyViolationEvent
SensorErrorEvent
SnapEvent
SpeechRecognitionErrorEvent
SpeechRecognitionEvent
SpeechSynthesisEvent
StorageEvent
SubmitEvent
TaskPriorityChangeEvent
TextFormatUpdateEvent
TextUpdateEvent
TimeEvent
ToggleEvent
TrackEvent
TransitionEvent
UIEvent
USBConnectionEvent
ValueEvent
WebGLContextEvent
Window
WindowControlsOverlayGeometryChangeEvent
XRInputSourceEvent
XRInputSourcesChangeEvent
XRLayerEvent
XRReferenceSpaceEvent
XRSessionEvent
Referring specifications
- HTML Standard refers to
Event
- WebGL Specification refers to
Event
- Captured Mouse Events refers to
Event
- SVG Animations refers to
Event
- The Capture-Handle Actions Mechanism refers to
Event
- Web NFC refers to
Event
- Web Bluetooth refers to
Event
- WebSockets Standard refers to
Event
- Cookie Store API refers to
Event
- Document Picture-in-Picture Specification refers to
Event
- Fenced Frame refers to
Event
- Manifest Incubations refers to
Event
- Portals refers to
Event
- Prioritized Task Scheduling refers to
Event
- Web Speech API refers to
Event
- WebHID API refers to
Event
- WebUSB API refers to
Event
- Window Controls Overlay refers to
Event
- Clipboard API and events refers to
Event
- Content Security Policy Level 3 refers to
Event
- CSS Animations Level 1 refers to
Event
- CSS Containment Module Level 2 refers to
Event
- CSS Font Loading Module Level 3 refers to
Event
- CSS Scroll Snap Module Level 2 refers to
Event
- CSS Transitions Level 1 refers to
Event
- CSSOM View Module refers to
Event
- EditContext API refers to
Event
- Encrypted Media Extensions refers to
Event
- Gamepad refers to
Event
- Generic Sensor API refers to
Event
- Indexed Database API 3.0 refers to
Event
- Media Source Extensions™ refers to
Event
- Media Capture and Streams refers to
Event
- MediaStream Recording refers to
Event
- Device Orientation and Motion refers to
Event
- Payment Request API refers to
Event
- Picture-in-Picture refers to
Event
- Presentation API refers to
Event
- Service Workers Nightly refers to
Event
- UI Events refers to
Event
- Web Animations Level 2 refers to
Event
- Web Audio API 1.1 refers to
Event
- WebGPU refers to
Event
- Web MIDI API refers to
Event
- WebRTC Encoded Transform refers to
Event
- WebRTC: Real-Time Communication in Browsers refers to
Event
- WebXR Device API refers to
Event
- WebXR Layers API Level 1 refers to
Event
- XMLHttpRequest Standard refers to
Event