Web Platform Atlas
ENRUUADEFRESPLPTZHJA
W3C · W3C Web APIs · w3c-uievents

UI Events

Chapters
141
Coverage EN
100.0%
MDN BCD
56
WPT tests
25
Interactive mode: term highlighting, MDN/WPT and BYOK translation of any chapter into EN.
⚡ Open in Live Atlas

Table of Contents (141 chapters)

ChapterSlots (EN)Interactive
Document Preamble ⚡ LIVE30 / 30Open in Atlas ↗
1 Introduction STATIC1 / 1Open in Atlas ↗
1.1 Overview STATIC3 / 3Open in Atlas ↗
1.1.1 Mouse and Wheel Events STATIC2 / 2Open in Atlas ↗
1.2 Conformance ⚡ LIVE5 / 5Open in Atlas ↗
1.2.1 Web browsers and other dynamic or interactive user agents ⚡ LIVE13 / 13Open in Atlas ↗
1.2.2 Authoring tools ⚡ LIVE4 / 4Open in Atlas ↗
1.2.3 Content authors and content ⚡ LIVE5 / 5Open in Atlas ↗
1.2.4 Specifications and host languages ⚡ LIVE4 / 4Open in Atlas ↗
2 Stylistic Conventions ⚡ LIVE12 / 12Open in Atlas ↗
3 Basic Event Interfaces ⚡ LIVE34 / 34Open in Atlas ↗
3.1 List of Event Types ⚡ LIVE127 / 127Open in Atlas ↗
3.2 User Interface Events ⚡ LIVE2 / 2Open in Atlas ↗
3.2.1 Interface UIEvent ⚡ LIVE5 / 5Open in Atlas ↗
3.2.1.1 UIEvent ⚡ LIVE7 / 7Open in Atlas ↗
3.2.1.2 UIEventInit ⚡ LIVE5 / 5Open in Atlas ↗
3.2.2 UIEvent Algorithms ⚡ LIVE1 / 1Open in Atlas ↗
3.2.2.1 initialize a UIEvent ⚡ LIVE17 / 17Open in Atlas ↗
3.2.3 UIEvent Types ⚡ LIVE2 / 2Open in Atlas ↗
3.2.3.1 load ⚡ LIVE21 / 21Open in Atlas ↗
3.2.3.2 unload ⚡ LIVE20 / 20Open in Atlas ↗
3.2.3.3 abort ⚡ LIVE20 / 20Open in Atlas ↗
3.2.3.4 error ⚡ LIVE20 / 20Open in Atlas ↗
3.2.3.5 select ⚡ LIVE23 / 23Open in Atlas ↗
3.3 Focus Events ⚡ LIVE2 / 2Open in Atlas ↗
3.3.1 Interface FocusEvent ⚡ LIVE4 / 4Open in Atlas ↗
3.3.1.1 FocusEvent ⚡ LIVE5 / 5Open in Atlas ↗
3.3.1.2 FocusEventInit ⚡ LIVE3 / 3Open in Atlas ↗
3.3.2 Focus Event Order ⚡ LIVE25 / 25Open in Atlas ↗
3.3.3 Document Focus and Focus Context ⚡ LIVE7 / 7Open in Atlas ↗
3.3.4 Focus Event Types ⚡ LIVE2 / 2Open in Atlas ↗
3.3.4.1 blur ⚡ LIVE23 / 23Open in Atlas ↗
3.3.4.2 focus ⚡ LIVE23 / 23Open in Atlas ↗
3.3.4.3 focusin ⚡ LIVE23 / 23Open in Atlas ↗
3.3.4.4 focusout ⚡ LIVE23 / 23Open in Atlas ↗
3.4 Input Events ⚡ LIVE2 / 2Open in Atlas ↗
3.4.1 Interface InputEvent ⚡ LIVE1 / 1Open in Atlas ↗
3.4.1.1 InputEvent ⚡ LIVE12 / 12Open in Atlas ↗
3.4.1.2 InputEventInit ⚡ LIVE7 / 7Open in Atlas ↗
3.4.2 Input Event Order ⚡ LIVE9 / 9Open in Atlas ↗
3.4.3 Input Event Types ⚡ LIVE1 / 1Open in Atlas ↗
3.4.3.1 beforeinput ⚡ LIVE24 / 24Open in Atlas ↗
3.4.3.2 input ⚡ LIVE24 / 24Open in Atlas ↗
3.5 Keyboard Events ⚡ LIVE3 / 3Open in Atlas ↗
3.5.1 Interface KeyboardEvent ⚡ LIVE5 / 5Open in Atlas ↗
3.5.1.1 KeyboardEvent ⚡ LIVE50 / 50Open in Atlas ↗
3.5.1.2 KeyboardEventInit ⚡ LIVE20 / 20Open in Atlas ↗
3.5.2 Keyboard Event Key Location ⚡ LIVE14 / 14Open in Atlas ↗
3.5.3 Event Modifier Initializers ⚡ LIVE34 / 34Open in Atlas ↗
3.5.4 KeyboardEvent Algorithms ⚡ LIVE1 / 1Open in Atlas ↗
3.5.4.1 Global State for KeyboardEvent ⚡ LIVE1 / 1Open in Atlas ↗
3.5.4.1.1 User Agent-Level State ⚡ LIVE3 / 3Open in Atlas ↗
3.5.5 Keyboard Event Order ⚡ LIVE32 / 32Open in Atlas ↗
3.5.6 Keyboard Event Types ⚡ LIVE1 / 1Open in Atlas ↗
3.5.6.1 keydown ⚡ LIVE38 / 38Open in Atlas ↗
3.5.6.2 keyup ⚡ LIVE32 / 32Open in Atlas ↗
3.6 Composition Events ⚡ LIVE5 / 5Open in Atlas ↗
3.6.1 Interface CompositionEvent ⚡ LIVE4 / 4Open in Atlas ↗
3.6.1.1 CompositionEvent ⚡ LIVE4 / 4Open in Atlas ↗
3.6.1.2 CompositionEventInit ⚡ LIVE3 / 3Open in Atlas ↗
3.6.2 Composition Event Order ⚡ LIVE11 / 11Open in Atlas ↗
3.6.3 Handwriting Recognition Systems ⚡ LIVE19 / 19Open in Atlas ↗
3.6.4 Canceling Composition Events ⚡ LIVE23 / 23Open in Atlas ↗
3.6.5 Key Events During Composition ⚡ LIVE27 / 27Open in Atlas ↗
3.6.6 Input Events During Composition ⚡ LIVE26 / 26Open in Atlas ↗
3.6.7 Composition Event Types ⚡ LIVE1 / 1Open in Atlas ↗
3.6.7.1 compositionstart ⚡ LIVE26 / 26Open in Atlas ↗
3.6.7.2 compositionupdate ⚡ LIVE26 / 26Open in Atlas ↗
3.6.7.3 compositionend ⚡ LIVE24 / 24Open in Atlas ↗
4 Keyboard events and key values ⚡ LIVE7 / 7Open in Atlas ↗
4.1 Keyboard Input ⚡ LIVE7 / 7Open in Atlas ↗
4.1.1 Key Legends ⚡ LIVE4 / 4Open in Atlas ↗
4.2 Key codes ⚡ LIVE4 / 4Open in Atlas ↗
4.2.1 Motivation for the code Attribute ⚡ LIVE3 / 3Open in Atlas ↗
4.2.2 The Relationship Between key and code ⚡ LIVE5 / 5Open in Atlas ↗
4.2.3 code Examples ⚡ LIVE127 / 127Open in Atlas ↗
4.2.4 code and Virtual Keyboards ⚡ LIVE3 / 3Open in Atlas ↗
4.3 Keyboard Event key Values ⚡ LIVE10 / 10Open in Atlas ↗
4.3.1 Modifier keys ⚡ LIVE131 / 131Open in Atlas ↗
4.3.2 Dead keys ⚡ LIVE77 / 77Open in Atlas ↗
4.3.3 Input Method Editors ⚡ LIVE172 / 172Open in Atlas ↗
4.3.3.1 Input Method Editor mode keys ⚡ LIVE4 / 4Open in Atlas ↗
4.3.4 Default actions and cancelable keyboard events ⚡ LIVE74 / 74Open in Atlas ↗
5 External Algorithms ⚡ LIVE3 / 3Open in Atlas ↗
5.1 Core DOM Algorithms ⚡ LIVE2 / 2Open in Atlas ↗
5.2 PointerLock Algorithms ⚡ LIVE2 / 2Open in Atlas ↗
5.2.1 Global State for PointerLock ⚡ LIVE1 / 1Open in Atlas ↗
5.2.1.1 Window-Level State ⚡ LIVE3 / 3Open in Atlas ↗
5.2.2 initialize PointerLock attributes for MouseEvent ⚡ LIVE7 / 7Open in Atlas ↗
5.2.3 set PointerLock attributes for mousemove ⚡ LIVE13 / 13Open in Atlas ↗
6 Legacy Event Initializers ⚡ LIVE5 / 5Open in Atlas ↗
6.1 Legacy Event Initializer Interfaces ⚡ LIVE3 / 3Open in Atlas ↗
6.1.1 Initializers for interface UIEvent ⚡ LIVE14 / 14Open in Atlas ↗
6.1.2 Initializers for interface KeyboardEvent ⚡ LIVE25 / 25Open in Atlas ↗
6.1.3 Initializers for interface CompositionEvent ⚡ LIVE15 / 15Open in Atlas ↗
7 Legacy Key & Mouse Event Attributes ⚡ LIVE5 / 5Open in Atlas ↗
7.1 Legacy UIEvent supplemental interface ⚡ LIVE4 / 4Open in Atlas ↗
7.1.1 Interface UIEvent (supplemental) ⚡ LIVE4 / 4Open in Atlas ↗
7.1.2 Interface UIEventInit (supplemental) ⚡ LIVE5 / 5Open in Atlas ↗
7.2 Legacy KeyboardEvent supplemental interface ⚡ LIVE4 / 4Open in Atlas ↗
7.2.1 Interface KeyboardEvent (supplemental) ⚡ LIVE8 / 8Open in Atlas ↗
7.2.2 Interface KeyboardEventInit (supplemental) ⚡ LIVE7 / 7Open in Atlas ↗
7.3 Legacy key models ⚡ LIVE3 / 3Open in Atlas ↗
7.3.1 How to determine keyCode for keydown and keyup events ⚡ LIVE10 / 10Open in Atlas ↗
7.3.2 How to determine keyCode for keypress events ⚡ LIVE4 / 4Open in Atlas ↗
7.3.3 Fixed virtual key codes ⚡ LIVE43 / 43Open in Atlas ↗
7.3.4 Optionally fixed virtual key codes ⚡ LIVE71 / 71Open in Atlas ↗
8 Legacy Event Types ⚡ LIVE52 / 52Open in Atlas ↗
8.1 Legacy UIEvent events ⚡ LIVE1 / 1Open in Atlas ↗
8.1.1 Legacy UIEvent event types ⚡ LIVE1 / 1Open in Atlas ↗
8.1.1.1 DOMActivate ⚡ LIVE29 / 29Open in Atlas ↗
8.1.2 Activation event order ⚡ LIVE25 / 25Open in Atlas ↗
8.2 Legacy FocusEvent events ⚡ LIVE1 / 1Open in Atlas ↗
8.2.1 Legacy FocusEvent event types ⚡ LIVE1 / 1Open in Atlas ↗
8.2.1.1 DOMFocusIn ⚡ LIVE24 / 24Open in Atlas ↗
8.2.1.2 DOMFocusOut ⚡ LIVE24 / 24Open in Atlas ↗
8.2.2 Legacy FocusEvent event order ⚡ LIVE33 / 33Open in Atlas ↗
8.3 Legacy KeyboardEvent events ⚡ LIVE3 / 3Open in Atlas ↗
8.3.1 Legacy KeyboardEvent event types ⚡ LIVE1 / 1Open in Atlas ↗
8.3.1.1 keypress ⚡ LIVE39 / 39Open in Atlas ↗
8.3.2 keypress event order ⚡ LIVE23 / 23Open in Atlas ↗
8.4 Legacy TextEvent events ⚡ LIVE2 / 2Open in Atlas ↗
9 Extending Events ⚡ LIVE2 / 2Open in Atlas ↗
9.1 Introduction ⚡ LIVE2 / 2Open in Atlas ↗
9.2 Custom Events ⚡ LIVE3 / 3Open in Atlas ↗
9.3 Implementation-Specific Extensions ⚡ LIVE5 / 5Open in Atlas ↗
9.3.1 Known Implementation-Specific Prefixes ⚡ LIVE17 / 17Open in Atlas ↗
10 Security Considerations ⚡ LIVE5 / 5Open in Atlas ↗
11 Acknowledgements ⚡ LIVE8 / 8Open in Atlas ↗
12 Glossary ⚡ LIVE52 / 52Open in Atlas ↗
Conformance ⚡ LIVE1 / 1Open in Atlas ↗
Document conventions ⚡ LIVE7 / 7Open in Atlas ↗
Conformant Algorithms ⚡ LIVE3 / 3Open in Atlas ↗
Index ⚡ LIVE1 / 1Open in Atlas ↗
Terms defined by this specification ⚡ LIVE184 / 184Open in Atlas ↗
Terms defined by reference ⚡ LIVE78 / 78Open in Atlas ↗
References ⚡ LIVE1 / 1Open in Atlas ↗
Normative References ⚡ LIVE23 / 23Open in Atlas ↗
Informative References ⚡ LIVE27 / 27Open in Atlas ↗
IDL Index ⚡ LIVE1 / 1Open in Atlas ↗
Issues Index ⚡ LIVE286 / 286Open in Atlas ↗