Справочник по событиям
======================

События DOM присылаются чтобы уведомить код о том, что интересующие его действия произошли. События могут возникать в результате действий пользователя, таких как использование мыши или изменение размера окна, изменения состояния базовой среды (например, низкий заряд батареи или мультимедийные события из операционной системы) и других причин.

Каждое событие представляет собой объект, который основан на интерфейсе `Event` и может иметь дополнительные поля и/или функции, позволяющие получить дополнительную информацию о том, что произошло. События могут описывать всё, что угодно: от простых действий пользователя до действий автоматизированной системы рассылки уведомлений, создаваемых моделью формирования экрана. Полный список различных типов событий приведен в разделе Event > Интерфейсы, основанные на Event.

Эта статья содержит список событий, которые могут быть отправлены; некоторые стандартные события определены в официальной документации, тогда как другие события являются специфичными для конкретных браузеров. Для примера, в списке приведены специфические для браузера Mozilla события, которые позволяют использовать add-ons для взаимодействия с браузером.

Наиболее распространённые категории
-----------------------------------

| Имя события | Происходит когда |
| --- | --- |
| `error (en-US)` | Не удалось загрузить ресурс. |
| `abort (en-US)` | Загрузка ресурса была прервана. |
| `load (en-US)` | Ресурс и его зависимые ресурсы завершили загрузку. |
| `beforeunload (en-US)` | Окно, документ и его ресурсы будут выгружены. |
| `unload (en-US)` | Выгружается документ или зависимый ресурс. |

| Имя события | Происходит когда |
| --- | --- |
| `online (en-US)` | Браузер получил доступ к сети. |
| `offline (en-US)` | Браузер потерял доступ к сети. |

| Имя события | Происходит когда |
| --- | --- |
| `focus (en-US)` | Элемент получил фокус (does not bubble). |
| `blur (en-US)` | Элемент потерял фокус (does not bubble). |

| Имя события | Происходит когда |
| --- | --- |
| `open` (en-US) | Установлено соединение с WebSocket. |
| `message` (en-US) | Сообщение принимается через WebSocket. |
| `error (en-US)` | Соединение WebSocket было закрыто с предубеждением (например, некоторые данные не могут быть отправлены). |
| `close` (en-US) | Соединение WebSocket было закрыто. |

| Имя события | Происходит когда |
| --- | --- |
| `pagehide (en-US)` | Выполняется обход записей журнала сессии. |
| `pageshow (en-US)` | Выполняется переход к записи журнала сессии. |
| `popstate (en-US)` | Выполняется переход к записи журнала сессии (в некоторых случаях). |

| Имя события | Происходит когда |
| --- | --- |
| `animationstart (en-US)` | CSS-анимация (en-US) началась. |
| `animationcancel` | CSS-анимация (en-US) прервалась. |
| `animationend (en-US)` | CSS-анимация (en-US) завершена. |
| `animationiteration (en-US)` | CSS-анимация (en-US) повторяется. |

| Имя события | Происходит когда |
| --- | --- |
| `transitionstart` | CSS переход (en-US) уже фактически начался (запустился после каких-либо задержек). |
| `transitioncancel` | CSS переход (en-US) отменён. |
| `transitionend (en-US)` | CSS переход (en-US) завершён. |
| `transitionrun` | CSS переход (en-US) начал выполняться (запускается до начала любой задержки).. |

| Имя события | Происходит когда |
| --- | --- |
| `reset (en-US)` | Кнопка сброса нажата |
| `submit (en-US)` | Кнопка "Отправить" нажата |

| Имя события | Происходит когда |
| --- | --- |
| `beforeprint (en-US)` | Диалоговое окно печати открыто |
| `afterprint (en-US)` | Диалоговое окно печати закрыто |

| Имя события | Происходит когда |
| --- | --- |
| `compositionstart (en-US)` | Подготавливается композиция отрывка текста (аналогично нажатию клавиш для ввода с клавиатуры, но работает с другими входами, такими как распознавание речи). |
| `compositionupdate (en-US)` | К отрывку составляемого текста добавляется символ. |
| `compositionend (en-US)` | Составление отрывка текста завершено или отменено. |

| Имя события | Происходит когда |
| --- | --- |
| `fullscreenchange (en-US)` | Элемент был переведён в полноэкранный режим или обратно в нормальный режим. |
| `fullscreenerror (en-US)` | Переход в полноэкранный режим был невозможен по техническим причинам или из-за отказа в разрешении. |
| `resize (en-US)` | Размер просмотра документа изменён. |
| `scroll (en-US)` | Документ или элемент были прокручены. |

| Имя события | Происходит когда |
| --- | --- |
| `cut (en-US)` | Выделение было вырезано и скопировано в буфер обмена |
| `copy (en-US)` | Выделение было скопировано в буфер обмена |
| `paste (en-US)` | Элемент из буфера обмена был вставлен |

| Имя события | Происходит когда |
| --- | --- |
| `keydown (en-US)` | Нажата любая клавиша |
| `keypress (en-US)` | Любая клавиша, кроме Shift, Fn, CapsLock, находится в нажатом положении. (Происходит непрерывно.) |
| `keyup (en-US)` | Любая клавиша отпущена |

| Имя события | Происходит когда |
| --- | --- |
| `auxclick` | Кнопка указывающего устройства (любая неосновная кнопка) была нажата и отпущена на элементе. |
| `click (en-US)` | Кнопка указывающего устройства (любая кнопка; soon to be primary button only) была нажата и отпущена на элементе. |
| `contextmenu (en-US)` | Правая кнопка мыши щелкнута (перед отображением контекстного меню). |
| `dblclick (en-US)` | На элементе дважды щёлкается кнопка указывающего устройства. |
| `mousedown (en-US)` | На элементе нажимается кнопка указывающего устройства. |
| `mouseenter (en-US)` | Указывающее устройство перемещено на элемент, к которому подключён обработчик. |
| `mouseleave (en-US)` | Указывающее устройство перемещается от элемента, к которому подключён обработчик. |
| `mousemove (en-US)` | Указывающее устройство перемещается по элементу. (Происходит непрерывно при движении мыши.) |
| `mouseover (en-US)` | Указывающее устройство перемещается на элемент, к которому подключён обработчик, или на один из его дочерних элементов. |
| `mouseout (en-US)` | Указывающее устройство перемещается от элемента, к которому подключён обработчик, или от одного из его дочерних элементов. |
| `mouseup (en-US)` | Кнопка указывающего устройства отпускается над элементом. |
| `pointerlockchange (en-US)` | Указатель был заблокирован или отпущен. |
| `pointerlockerror (en-US)` | Указатель был заблокирован по техническим причинам или из-за отказа в разрешении. |
| `select (en-US)` | Выбирается какой-то текст. |
| `wheel (en-US)` | Колесо указывающего устройства вращается в любом направлении. |

| Имя события | Происходит когда |
| --- | --- |
| `drag (en-US)` | Элемент или выделение текста перетаскивается. (Срабатывает непрерывно каждые 350 мс) |
| `dragend (en-US)` | Операция перетаскивания завершается (отпуская кнопку мыши или нажимая клавишу выхода). |
| `dragenter (en-US)` | Перетаскиваемый элемент или выделенный текст попадает в допустимую цель перетаскивания. |
| `dragstart (en-US)` | Пользователь начинает перетаскивать элемент или выделенный текст. |
| `dragleave (en-US)` | Перетаскиваемый элемент или выделенный текст оставляет допустимую цель перетаскивания. |
| `dragover (en-US)` | Выбранный элемент или текст перетаскивается над допустимой целью перетаскивания. (Срабатывает непрерывно каждые 350 мс) |
| `drop (en-US)` | An element is dropped on a valid drop target. |

| Имя события | Происходит когда |
| --- | --- |
| `audioprocess (en-US)` | Входной буфер `ScriptProcessorNode` (en-US) готов к обработке. |
| `canplay (en-US)` | Браузер может воспроизводить мультимедиа, но оценивает, что было загружено недостаточно данных для воспроизведения мультимедиа до конца без необходимости останавливаться для дальнейшей буферизации содержимого. |
| `canplaythrough (en-US)` | Браузер оценивает, что он может воспроизводить мультимедиа до конца, не останавливаясь для буферизации контента. |
| `complete (en-US)` | Рендеринг `OfflineAudioContext` (en-US) закончен. |
| `durationchange (en-US)` | Атрибут `duration` был обновлён. |
| `emptied (en-US)` | Медиа стало пустым; например, это событие отправляется, если медиа уже загружено (или частично загружено), и метод `load()` вызывается, чтобы перезагрузить его. |
| `ended (en-US)` | Воспроизведение остановлено, поскольку достигнут конец медиа. |
| `loadeddata (en-US)` | Закончилась загрузка первого фрейма медиа. |
| `loadedmetadata (en-US)` | Метаданные загружены. |
| `pause (en-US)` | Воспроизведение было приостановлено. |
| `play (en-US)` | Воспроизведение началось. |
| `playing (en-US)` | Воспроизведение готово к запуску после того, как оно было приостановлено или отложено из-за отсутствия данных. |
| `ratechange (en-US)` | Скорость воспроизведения изменилась. |
| `seeked (en-US)` | Операция *seek* завершена. |
| `seeking (en-US)` | Операция *seek* начата. |
| `stalled (en-US)` | Пользовательский агент пытается получить мультимедийные данные, но данные неожиданно не поступают.. |
| `suspend (en-US)` | Загрузка медиаданных приостановлена. |
| `timeupdate (en-US)` | Время, указанное атрибутом `currentTime`, было обновлено. |
| `volumechange (en-US)` | Громкость изменилась. |
| `waiting (en-US)` | Воспроизведение остановлено из-за временной нехватки данных. |

| Имя события | Происходит когда |
| --- | --- |
| `abort` (en-US) | Выполнение остановлено (не из-за ошибки). |
| `error (en-US)` | Выполнение не удалось. |
| `load` (en-US) | Выполнено успешно. |
| `loadend (en-US)` | Выполнение остановлено (после отправки "error", "abort" или "load"). |
| `loadstart (en-US)` | Выполнение началось. |
| `progress (en-US)` | В ходе выполнения. |
| `timeout` | Выполнение прекращено по истечении установленного времени. |

### События хранилища

`change (en-US)` (see Non-standard events)
 `storage (en-US)`

### События обновления

`checking`
`downloading`
`error (en-US)`
`noupdate`
`obsolete`
`updateready`### События изменения значений

`broadcast`
`CheckboxStateChange`
`hashchange (en-US)`
`input (en-US)`
`RadioStateChange`
`readystatechange (en-US)`
`ValueChange`### События без категорий

`invalid (en-US)`
`message` (en-US)
`message` (en-US)
`open` (en-US)
`show`

Менее распространённые и нестандартные события
----------------------------------------------

### Abortable Fetch события

| Имя события | Происходит когда |
| --- | --- |
| `abort` | A DOM request is aborted, i.e. using `AbortController.abort()`. |

### События веб виртуальной реальности (WebVR)

| Имя события | Происходит когда |
| --- | --- |
| `vrdisplayactivate` | When a VR display is able to be presented to, for example if an HMD has been moved to bring it out of standby, or woken up by being put on. |
| `vrdisplayblur` | when presentation to a `VRDisplay` (en-US) has been paused for some reason by the browser, OS, or VR hardware — for example, while the user is interacting with a system menu or browser, to prevent tracking or loss of experience. |
| `vrdisplayconnect` | when a compatible `VRDisplay` (en-US) is connected to the computer. |
| `vrdisplaydeactivate` | When a `VRDisplay` (en-US) can no longer be presented to, for example if an HMD has gone into standby or sleep mode due to a period of inactivity. |
| `vrdisplaydisconnect` | When a compatible `VRDisplay` (en-US) is disconnected from the computer. |
| `vrdisplayfocus` | When presentation to a `VRDisplay` (en-US) has resumed after being blurred. |
| `vrdisplaypresentchange` | The presenting state of a `VRDisplay` (en-US) changes — i.e. goes from presenting to not presenting, or vice versa. |

### SVG события

`SVGAbort`
`SVGError (en-US)`
`SVGLoad (en-US)`
`SVGResize`
`SVGScroll`
`SVGUnload`
`SVGZoom`### События базы данных

`abort` (en-US)
`blocked` (en-US)
`complete` (en-US)
`error (en-US)`
`success` (en-US)
`upgradeneeded` (en-US)
`versionchange` (en-US)

### События скриптов

`afterscriptexecute (en-US)`
`beforescriptexecute (en-US)`### События меню

`DOMMenuItemActive`
`DOMMenuItemInactive`### События окон

`close`

### Popup события

`popuphidden`
`popuphiding`
`popupshowing`
`popupshown`### События вкладок

`visibilitychange (en-US)`### События батареи

`chargingchange`
`chargingtimechange`
`dischargingtimechange`
`levelchange`### События вызовов

`alerting`
`busy`
`callschanged`
`cfstatechange`
`connected`
`connecting`
`dialing`
`disconnected`
`disconnecting`
`error`
`held`, `holding`
`incoming`
`resuming`
`statechange (en-US)`
`voicechange`### Сенсорные события

`compassneedscalibration`
`devicemotion (en-US)`
`deviceorientation (en-US)`
`orientationchange (en-US)`### Smartcard события

`icccardlockerror`
`iccinfochange`
`smartcard-insert`
`smartcard-remove`
`stkcommand`
`stksessionend`
`cardstatechange`### SMS и USSD события

`delivered`
`received`
`sent`
`ussdreceived`### Frame события

`mozbrowserclose`
`mozbrowsercontextmenu`
`mozbrowsererror`
`mozbrowsericonchange`
`mozbrowserlocationchange`
`mozbrowserloadend`
`mozbrowserloadstart`
`mozbrowseropenwindow`
`mozbrowsersecuritychange`
`mozbrowsershowmodalprompt`
`mozbrowsertitlechange`### События изменения DOM

`DOMAttributeNameChanged`
`DOMAttrModified`
`DOMCharacterDataModified`
`DOMContentLoaded (en-US)`
`DOMElementNameChanged`
`DOMNodeInserted`
`DOMNodeInsertedIntoDocument`
`DOMNodeRemoved`
`DOMNodeRemovedFromDocument`
`DOMSubtreeModified`

### События касаний

`touchcancel (en-US)`
`touchend (en-US)`
`touchmove (en-US)`
`touchstart (en-US)`### События указателя

`pointerover`
`pointerenter`
`pointerdown`
`pointermove`
`pointerup`
`pointercancel`
`pointerout`
`pointerleave`
`gotpointercapture`
`lostpointercapture`Стандартные события
-------------------

Эти события определены в официальных веб-спецификациях и должны быть общими для всех браузеров. Каждое событие перечисляется вместе с интерфейсом, представляющим объект, отправленный получателям события (так что вы можете найти информацию о том, какие данные предоставляются с каждым событием), а также ссылку на спецификацию или спецификации, которые определяют событие.

| Имя события | Тип события | Спецификация | Происходит когда... |
| --- | --- | --- | --- |
| `abort (en-US)` | `UIEvent` (en-US) | DOM L3 | The loading of a resource has been aborted. |
| `abort` (en-US) | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | Progression has been terminated (not due to an error). |
| `abort` (en-US) | `Event` | IndexedDB | A transaction has been aborted. |
| `afterprint (en-US)` | `Event` | HTML5 | The associated document has started printing or the print preview has been closed. |
| `animationcancel` | `AnimationEvent` 
Экспериментальная возможность
 | CSS Animations | A CSS animation (en-US) has aborted. |
| `animationend (en-US)` | `AnimationEvent` 
Экспериментальная возможность
 | CSS Animations | A CSS animation (en-US) has completed. |
| `animationiteration (en-US)` | `AnimationEvent` 
Экспериментальная возможность
 | CSS Animations | A CSS animation (en-US) is repeated. |
| `animationstart (en-US)` | `AnimationEvent` 
Экспериментальная возможность
 | CSS Animations | A CSS animation (en-US) has started. |
| `appinstalled` | `Event` | Web App Manifest | A web application is successfully installed as a progressive web app. |
| `audioprocess (en-US)` | `AudioProcessingEvent` (en-US) 
Устарело
 | Web Audio API | The input buffer of a `ScriptProcessorNode` (en-US) is ready to be processed. |
| `audioend` 
Экспериментальная возможность
 | `Event` | Web Speech API | The user agent has finished capturing audio for speech recognition. |
| `audiostart` 
Экспериментальная возможность
 | `Event` | Web Speech API | The user agent has started to capture audio for speech recognition. |
| `beforeprint (en-US)` | `Event` | HTML5 | The associated document is about to be printed or previewed for printing. |
| `beforeunload (en-US)` | `BeforeUnloadEvent` | HTML5 | The window, the document and its resources are about to be unloaded. |
| `beginEvent (en-US)` | `TimeEvent` (en-US) | SVG | A SMIL (en-US) animation element begins. |
| `blocked` (en-US) |  | IndexedDB | An open connection to a database is blocking a `versionchange` transaction on the same database. |
| `blur (en-US)` | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element has lost focus (does not bubble). |
| `boundary` 
Экспериментальная возможность
 | `SpeechSynthesisEvent` (en-US) | Web Speech API | The spoken utterance reaches a word or sentence boundary |
| `canplay (en-US)` | `Event` | HTML5 media | 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. |
| `canplaythrough (en-US)` | `Event` | HTML5 media | The user agent can play the media up to its end without having to stop for further buffering of content. |
| `change (en-US)` | `Event` | DOM L2, HTML5 | The `change` event is fired for `<input>`, `<select>`, and `<textarea>` (en-US) elements when a change to the element's value is committed by the user. |
| `chargingchange` | `Event` | Battery status | The battery begins or stops charging. |
| `chargingtimechange` | `Event` | Battery status | The `chargingTime` attribute has been updated. |
| `click (en-US)` | `MouseEvent` | DOM L3 | A pointing device button has been pressed and released on an element. |
| `close` (en-US) | `Event` | WebSocket | A WebSocket connection has been closed. |
| `complete` (en-US) |  | IndexedDB | A transaction successfully completed. |
| `complete (en-US)` | `OfflineAudioCompletionEvent` (en-US) 
Устарело
 | Web Audio API | The rendering of an `OfflineAudioContext` (en-US) is terminated. |
| `compositionend (en-US)` | `CompositionEvent` (en-US) | DOM L3 | The composition of a passage of text has been completed or canceled. |
| `compositionstart (en-US)` | `CompositionEvent` (en-US) | DOM L3 | 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). |
| `compositionupdate (en-US)` | `CompositionEvent` (en-US) | DOM L3 | A character is added to a passage of text being composed. |
| `contextmenu (en-US)` | `MouseEvent` | HTML5 | The right button of the mouse is clicked (before the context menu is displayed). |
| `copy (en-US)` | `ClipboardEvent` 
Экспериментальная возможность
 | Clipboard | The text selection has been added to the clipboard. |
| `cut (en-US)` | `ClipboardEvent` 
Экспериментальная возможность
 | Clipboard | The text selection has been removed from the document and added to the clipboard. |
| `dblclick (en-US)` | `MouseEvent` | DOM L3 | A pointing device button is clicked twice on an element. |
| `devicechange` | `Event` | Media Capture and Streams | A media device such as a camera, microphone, or speaker is connected or removed from the system. |
| `devicemotion (en-US)` | `DeviceMotionEvent` (en-US) 
Экспериментальная возможность
 | Device Orientation Events | Fresh data is available from a motion sensor. |
| `deviceorientation (en-US)` | `DeviceOrientationEvent` (en-US) 
Экспериментальная возможность
 | Device Orientation Events | Fresh data is available from an orientation sensor. |
| `dischargingtimechange` | `Event` | Battery status | The `dischargingTime` attribute has been updated. |
| `DOMActivate` 
Устарело
 | `UIEvent` (en-US) | DOM L3 | A button, link or state changing element is activated (use `click (en-US)` instead). |
| `DOMAttributeNameChanged` 
Устарело
 | `MutationNameEvent` | DOM L3 Removed | The name of an attribute changed (use mutation observers (en-US) instead). |
| `DOMAttrModified` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | The value of an attribute has been modified (use mutation observers (en-US) instead). |
| `DOMCharacterDataModified` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A text or another CharacterData (en-US) has changed (use mutation observers (en-US) instead). |
| `DOMContentLoaded (en-US)` | `Event` | HTML5 | The document has finished loading (but not its dependent resources). |
| `DOMElementNameChanged` 
Устарело
 | `MutationNameEvent` | DOM L3 Removed | The name of an element changed (use mutation observers (en-US) instead). |
| `DOMFocusIn` 
Устарело
 | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element has received focus (use `focus (en-US)` or `focusin (en-US)` instead). |
| `DOMFocusOut` 
Устарело
 | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element has lost focus (use `blur (en-US)` or `focusout (en-US)` instead). |
| `DOMNodeInserted` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A node has been added as a child of another node (use mutation observers (en-US) instead). |
| `DOMNodeInsertedIntoDocument` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A node has been inserted into the document (use mutation observers (en-US) instead). |
| `DOMNodeRemoved` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A node has been removed from its parent node (use mutation observers (en-US) instead). |
| `DOMNodeRemovedFromDocument` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A node has been removed from the document (use mutation observers (en-US) instead). |
| `DOMSubtreeModified` 
Устарело
 | `MutationEvent` (en-US) | DOM L3 | A change happened in the document (use mutation observers (en-US) instead). |
| `drag (en-US)` | `DragEvent` (en-US) | HTML5 | An element or text selection is being dragged (every 350ms). |
| `dragend (en-US)` | `DragEvent` (en-US) | HTML5 | A drag operation is being ended (by releasing a mouse button or hitting the escape key). |
| `dragenter (en-US)` | `DragEvent` (en-US) | HTML5 | A dragged element or text selection enters a valid drop target. |
| `dragleave (en-US)` | `DragEvent` (en-US) | HTML5 | A dragged element or text selection leaves a valid drop target. |
| `dragover (en-US)` | `DragEvent` (en-US) | HTML5 | An element or text selection is being dragged over a valid drop target (every 350ms). |
| `dragstart (en-US)` | `DragEvent` (en-US) | HTML5 | The user starts dragging an element or text selection. |
| `drop (en-US)` | `DragEvent` (en-US) | HTML5 | An element is dropped on a valid drop target. |
| `durationchange (en-US)` | `Event` | HTML5 media | The `duration` attribute has been updated. |
| `emptied (en-US)` | `Event` | HTML5 media | The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the `load()` method is called to reload it. |
| `end` 
Экспериментальная возможность
 | `Event` | Web Speech API | The speech recognition service has disconnected. |
| `end` 
Экспериментальная возможность
 | `SpeechSynthesisEvent` (en-US) | Web Speech API | The utterance has finished being spoken. |
| `ended (en-US)` | `Event` | HTML5 media | Playback has stopped because the end of the media was reached. |
| `ended (en-US)` | `Event` | Web Audio API | Playback has stopped because the end of the media was reached. |
| `endEvent (en-US)` | `TimeEvent` (en-US) | SVG | A SMIL (en-US) animation element ends. |
| `error (en-US)` | `UIEvent` (en-US) | DOM L3 | A resource failed to load. |
| `error (en-US)` | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | Progression has failed. |
| `error (en-US)` | `Event` | WebSocket | A WebSocket connection has been closed with prejudice (some data couldn't be sent for example). |
| `error (en-US)` | `Event` | Server Sent Events | An event source connection has been failed. |
| `error (en-US)` | `Event` | IndexedDB | A request caused an error and failed. |
| `error` 
Экспериментальная возможность
 | `Event` | Web Speech API | A speech recognition error occurs. |
| `error` | `SpeechSynthesisErrorEvent` (en-US) | Web Speech API | An error occurs that prevents the utterance from being successfully spoken. |
| `focus (en-US)` | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element has received focus (does not bubble). |
| `focusin (en-US)` | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element is about to receive focus (bubbles). |
| `focusout (en-US)` | `FocusEvent` (en-US) 
Экспериментальная возможность
 | DOM L3 | An element is about to lose focus (bubbles). |
| `fullscreenchange (en-US)` | `Event` | Full Screen | An element was turned to fullscreen mode or back to normal mode. |
| `fullscreenerror (en-US)` | `Event` | Full Screen | It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied. |
| `gamepadconnected (en-US)` | `GamepadEvent` 
Экспериментальная возможность
 | Gamepad | A gamepad has been connected. |
| `gamepaddisconnected (en-US)` | `GamepadEvent` 
Экспериментальная возможность
 | Gamepad | A gamepad has been disconnected. |
| `gotpointercapture` | `PointerEvent` (en-US) | Pointer Events | Element receives pointer capture. |
| `hashchange (en-US)` | `HashChangeEvent` (en-US) | HTML5 | The fragment identifier of the URL has changed (the part of the URL after the #). |
| `lostpointercapture` | `PointerEvent` (en-US) | Pointer Events | Element lost pointer capture. |
| `input (en-US)` | `Event` | HTML5 | The value of an element changes or the content of an element with the attribute contenteditable (en-US) is modified. |
| `invalid (en-US)` | `Event` | HTML5 | A submittable element has been checked and doesn't satisfy its constraints. |
| `keydown (en-US)` | `KeyboardEvent` | DOM L3 | A key is pressed down. |
| `keypress (en-US)` 
Устарело
 | `KeyboardEvent` | DOM L3 | A key is pressed down and that key normally produces a character value (use input instead). |
| `keyup (en-US)` | `KeyboardEvent` | DOM L3 | A key is released. |
| `languagechange (en-US)` 
Экспериментальная возможность
 | `Event` | HTML 5.1 | The user's preferred languages have changed. |
| `levelchange` | `Event` | Battery status | The `level` attribute has been updated. |
| `load (en-US)` | `UIEvent` (en-US) | DOM L3 | A resource and its dependent resources have finished loading. |
| `load` (en-US) | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | Progression has been successful. |
| `loadeddata (en-US)` | `Event` | HTML5 media | The first frame of the media has finished loading. |
| `loadedmetadata (en-US)` | `Event` | HTML5 media | The metadata has been loaded. |
| `loadend (en-US)` | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | Progress has stopped (after "error", "abort" or "load" have been dispatched). |
| `loadstart (en-US)` | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | Progress has begun. |
| `mark` 
Экспериментальная возможность
 | `SpeechSynthesisEvent` (en-US) | Web Speech API | The spoken utterance reaches a named SSML "mark" tag. |
| `message` (en-US) | `MessageEvent` (en-US) | WebSocket | A message is received through a WebSocket. |
| `message` (en-US) | `MessageEvent` (en-US) | Web Workers | A message is received from a Web Worker. |
| `message` | `MessageEvent` (en-US) | Web Messaging | A message is received from a child (i)frame or a parent window. |
| `message` (en-US) | `MessageEvent` (en-US) | Server Sent Events | A message is received through an event source. |
| `messageerror` | `MessageEvent` (en-US) | `MessagePort` (en-US), Web Workers, Broadcast Channel (en-US), `Window` | A message error is raised when a message is received by an object. |
| `message` 
Экспериментальная возможность
 | `ServiceWorkerMessageEvent` (en-US) or `ExtendableMessageEvent` (en-US), depending on context. | Service Workers | A message is received from a service worker, or a message is received in a service worker from another context. |
| `mousedown (en-US)` | `MouseEvent` | DOM L3 | A pointing device button (usually a mouse) is pressed on an element. |
| `mouseenter (en-US)` | `MouseEvent` | DOM L3 | A pointing device is moved onto the element that has the listener attached. |
| `mouseleave (en-US)` | `MouseEvent` | DOM L3 | A pointing device is moved off the element that has the listener attached. |
| `mousemove (en-US)` | `MouseEvent` | DOM L3 | A pointing device is moved over an element. |
| `mouseout (en-US)` | `MouseEvent` | DOM L3 | A pointing device is moved off the element that has the listener attached or off one of its children. |
| `mouseover (en-US)` | `MouseEvent` | DOM L3 | A pointing device is moved onto the element that has the listener attached or onto one of its children. |
| `mouseup (en-US)` | `MouseEvent` | DOM L3 | A pointing device button is released over an element. |
| `nomatch` 
Экспериментальная возможность
 | `SpeechRecognitionEvent` (en-US) | Web Speech API | The speech recognition service returns a final result with no significant recognition. |
| `notificationclick` | `NotificationEvent` (en-US) 
Экспериментальная возможность
 | Notifications API | A system notification spawned by `ServiceWorkerRegistration.showNotification()` has been clicked. |
| `offline (en-US)` | `Event` | HTML5 offline | The browser has lost access to the network. |
| `online (en-US)` | `Event` | HTML5 offline | The browser has gained access to the network (but particular websites might be unreachable). |
| `open` (en-US) | `Event` | WebSocket | A WebSocket connection has been established. |
| `open` (en-US) | `Event` | Server Sent Events | An event source connection has been established. |
| `orientationchange (en-US)` | `Event` | Screen Orientation | The orientation of the device (portrait/landscape) has changed |
| `pagehide (en-US)` | `PageTransitionEvent` (en-US) | HTML5 | A session history entry is being traversed from. |
| `pageshow (en-US)` | `PageTransitionEvent` (en-US) | HTML5 | A session history entry is being traversed to. |
| `paste (en-US)` | `ClipboardEvent` 
Экспериментальная возможность
 | Clipboard | Data has been transferred from the system clipboard to the document. |
| `pause (en-US)` | `Event` | HTML5 media | Playback has been paused. |
| `pause` 
Экспериментальная возможность
 | `SpeechSynthesisEvent` (en-US) | Web Speech API | The utterance is paused part way through. |
| `pointercancel` | `PointerEvent` (en-US) | Pointer Events | The pointer is unlikely to produce any more events. |
| `pointerdown` | `PointerEvent` (en-US) | Pointer Events | The pointer enters the active buttons state. |
| `pointerenter` | `PointerEvent` (en-US) | Pointer Events | Pointing device is moved inside the hit-testing boundary. |
| `pointerleave` | `PointerEvent` (en-US) | Pointer Events | Pointing device is moved out of the hit-testing boundary. |
| `pointerlockchange (en-US)` | `Event` | Pointer Lock | The pointer was locked or released. |
| `pointerlockerror (en-US)` | `Event` | Pointer Lock | It was impossible to lock the pointer for technical reasons or because the permission was denied. |
| `pointermove` | `PointerEvent` (en-US) | Pointer Events | The pointer changed coordinates. |
| `pointerout` | `PointerEvent` (en-US) | Pointer Events | The pointing device moved out of hit-testing boundary or leaves detectable hover range. |
| `pointerover` | `PointerEvent` (en-US) | Pointer Events | The pointing device is moved into the hit-testing boundary. |
| `pointerup` | `PointerEvent` (en-US) | Pointer Events | The pointer leaves the active buttons state. |
| `play (en-US)` | `Event` | HTML5 media | Playback has begun. |
| `playing (en-US)` | `Event` | HTML5 media | Playback is ready to start after having been paused or delayed due to lack of data. |
| `popstate (en-US)` | `PopStateEvent` (en-US) | HTML5 | A session history entry is being navigated to (in certain cases). |
| `progress (en-US)` | `ProgressEvent` (en-US) | Progress and XMLHttpRequest | In progress. |
| `push` | `PushEvent` (en-US) 
Экспериментальная возможность
 | Push API | A Service Worker has received a push message. |
| `pushsubscriptionchange` | `PushEvent` (en-US) 
Экспериментальная возможность
 | Push API | A PushSubscription (en-US) has expired. |
| `ratechange (en-US)` | `Event` | HTML5 media | The playback rate has changed. |
| `readystatechange (en-US)` | `Event` | HTML5 and XMLHttpRequest | The readyState attribute of a document has changed. |
| `repeatEvent (en-US)` | `TimeEvent` (en-US) | SVG | A SMIL (en-US) animation element is repeated. |
| `reset (en-US)` | `Event` | DOM L2, HTML5 | A form is reset. |
| `resize (en-US)` | `UIEvent` (en-US) | DOM L3 | The document view has been resized. |
| `resourcetimingbufferfull` | `Performance` | Resource Timing | The browser's resource timing buffer is full. |
| `result` 
Экспериментальная возможность
 | `SpeechRecognitionEvent` (en-US) 
Экспериментальная возможность
 | Web Speech API | The speech recognition service returns a result — a word or phrase has been positively recognized and this has been communicated back to the app. |
| `resume` 
Экспериментальная возможность
 | `SpeechSynthesisEvent` (en-US) 
Экспериментальная возможность
 | Web Speech API | A paused utterance is resumed. |
| `scroll (en-US)` | `UIEvent` (en-US) | DOM L3 | The document view or an element has been scrolled. |
| `seeked (en-US)` | `Event` | HTML5 media | A *seek* operation completed. |
| `seeking (en-US)` | `Event` | HTML5 media | A *seek* operation began. |
| `select (en-US)` | `UIEvent` (en-US) | DOM L3 | Some text is being selected. |
| `selectstart` 
Экспериментальная возможность
 | `Event` | Selection API | A selection just started. |
| `selectionchange` 
Экспериментальная возможность
 | `Event` | Selection API | The selection in the document has been changed. |
| `show` | `MouseEvent` | HTML5 | A contextmenu event was fired on/bubbled to an element that has a contextmenu attribute |
| `slotchange` | `Event` | DOM | The node contents of a `HTMLSlotElement` (`<slot>`) have changed. |
| `soundend` 
Экспериментальная возможность
 | `Event` | Web Speech API | Any sound — recognisable speech or not — has stopped being detected. |
| `soundstart` 
Экспериментальная возможность
 | `Event` | Web Speech API | Any sound — recognisable speech or not — has been detected. |
| `speechend` 
Экспериментальная возможность
 | `Event` | Web Speech API | Speech recognised by the speech recognition service has stopped being detected. |
| `speechstart` 
Экспериментальная возможность
 | `Event` | Web Speech API | Sound that is recognised by the speech recognition service as speech has been detected. |
| `stalled (en-US)` | `Event` | HTML5 media | The user agent is trying to fetch media data, but data is unexpectedly not forthcoming. |
| `start` 
Экспериментальная возможность
 | `Event` | Web Speech API | The speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current `SpeechRecognition`. |
| `start` | `SpeechSynthesisEvent` (en-US) | Web Speech API | The utterance has begun to be spoken. |
| `storage (en-US)` | `StorageEvent` (en-US) | Web Storage | A storage area (localStorage (en-US) or sessionStorage (en-US)) has changed. |
| `submit (en-US)` | `Event` | DOM L2, HTML5 | A form is submitted. |
| `success` (en-US) | `Event` | IndexedDB | A request successfully completed. |
| `suspend (en-US)` | `Event` | HTML5 media | Media data loading has been suspended. |
| `SVGAbort` | `SVGEvent` (en-US) | SVG | Page loading has been stopped before the SVG (en-US) was loaded. |
| `SVGError (en-US)` | `SVGEvent` (en-US) | SVG | An error has occurred before the SVG (en-US) was loaded. |
| `SVGLoad (en-US)` | `SVGEvent` (en-US) | SVG | An SVG (en-US) document has been loaded and parsed. |
| `SVGResize` | `SVGEvent` (en-US) | SVG | An SVG (en-US) document is being resized. |
| `SVGScroll` | `SVGEvent` (en-US) | SVG | An SVG (en-US) document is being scrolled. |
| `SVGUnload` | `SVGEvent` (en-US) | SVG | An SVG (en-US) document has been removed from a window or frame. |
| `SVGZoom` | `SVGZoomEvent` | SVG | An SVG (en-US) document is being zoomed. |
| `timeout` | `ProgressEvent` (en-US) | XMLHttpRequest |  |
| `timeupdate (en-US)` | `Event` | HTML5 media | The time indicated by the `currentTime` attribute has been updated. |
| `touchcancel (en-US)` | `TouchEvent` | Touch Events | A touch point has been disrupted in an implementation-specific manners (too many touch points for example). |
| `touchend (en-US)` | `TouchEvent` | Touch Events | A touch point is removed from the touch surface. |
| `touchmove (en-US)` | `TouchEvent` | Touch Events | A touch point is moved along the touch surface. |
| `touchstart (en-US)` | `TouchEvent` | Touch Events | A touch point is placed on the touch surface. |
| `transitionend (en-US)` | `TransitionEvent` (en-US) 
Экспериментальная возможность
 | CSS Transitions | A CSS transition (en-US) has completed. |
| `unload (en-US)` | `UIEvent` (en-US) | DOM L3 | The document or a dependent resource is being unloaded. |
| `upgradeneeded` (en-US) |  | IndexedDB | An attempt was made to open a database with a version number higher than its current version. A `versionchange` transaction has been created. |
| `userproximity` | `UserProximityEvent` 
Экспериментальная возможность
 | Proximity Sensor | Fresh data is available from a proximity sensor (indicates whether the nearby object is `near` the device or not). |
| `voiceschanged` 
Экспериментальная возможность
 | `Event` | Web Speech API | The list of `SpeechSynthesisVoice` (en-US) objects that would be returned by the `SpeechSynthesis.getVoices()` (en-US) method has changed (when the `voiceschanged` event fires.) |
| `versionchange` (en-US) |  | IndexedDB | A `versionchange` transaction completed. |
| `visibilitychange (en-US)` | `Event` | Page visibility | The content of a tab has become visible or has been hidden. |
| `volumechange (en-US)` | `Event` | HTML5 media | The volume has changed. |
| `waiting (en-US)` | `Event` | HTML5 media | Playback has stopped because of a temporary lack of data. |
| `wheel (en-US)` | `WheelEvent` (en-US) | DOM L3 | A wheel button of a pointing device is rotated in any direction. |

Нестандартные события
---------------------

| Имя события | Тип события | Спецификация | Происходит когда... |
| --- | --- | --- | --- |
| `afterscriptexecute (en-US)` | `Event` | *Mozilla Specific* | A script has been executed. |
| `beforescriptexecute (en-US)` | `Event` | *Mozilla Specific* | A script is about to be executed. |
| `beforeinstallprompt` | `Event` | *Chrome specific* | A user is prompted to save a web site to a home screen on mobile. |
| `cardstatechange` |  | *Firefox OS specific* | The `MozMobileConnection.cardState` property changes value. |
| `change (en-US)` | `DeviceStorageChangeEvent` | *Firefox OS specific* | This event is triggered each time a file is created, modified or deleted on a given storage area. |
| `connectionInfoUpdate` |  | *Firefox OS specific* | The informations about the signal strength and the link speed have been updated. |
| `cfstatechange` |  | *Firefox OS specific* | The call forwarding state changes. |
| `datachange` |  | *Firefox OS specific* | The `MozMobileConnection.data` object changes values. |
| `dataerror` |  | *Firefox OS specific* | The `MozMobileConnection.data` object receive an error from the RIL. |
| `DOMMouseScroll (en-US)` 
Устарело
 |  | *Mozilla specific* | The wheel button of a pointing device is rotated (detail attribute is a number of lines). (use `wheel (en-US)` instead) |
| `dragdrop` 
Устарело
 | `DragEvent` | *Mozilla specific* | An element is dropped (use `drop (en-US)` instead). |
| `dragexit` 
Устарело
 | `DragEvent` | *Mozilla specific* | A drag operation is being ended(use `dragend (en-US)` instead). |
| `draggesture` 
Устарело
 | `DragEvent` | *Mozilla specific* | The user starts dragging an element or text selection (use `dragstart (en-US)` instead). |
| `icccardlockerror` |  | *Firefox OS specific* | the `MozMobileConnection.unlockCardLock()` or `MozMobileConnection.setCardLock()` methods fails. |
| `iccinfochange` |  | *Firefox OS specific* | The `MozMobileConnection.iccInfo` object changes. |
| `localized` |  | *Mozilla Specific* | The page has been localized using data-l10n-\* attributes. |
| `mousewheel (en-US)` 
Устарело
 |  | *IE invented* | The wheel button of a pointing device is rotated. |
| `MozAudioAvailable` | `Event` | *Mozilla specific* | The audio buffer is full and the corresponding raw samples are available. |
| `MozBeforeResize` |  | *Mozilla specific* | A window is about to be resized. |
| `mozbrowseractivitydone` |  | *Firefox OS Browser API-specific* | Sent when some activity has been completed (complete description TBD.) |
| `mozbrowserasyncscroll` |  | *Firefox OS Browser API-specific* | Sent when the scroll position within a browser `<iframe>` (en-US) changes. |
| `mozbrowseraudioplaybackchange` |  | *Firefox OS Browser API-specific* | Sent when audio starts or stops playing within the browser `<iframe>` (en-US) content. |
| `mozbrowsercaretstatechanged` |  | *Firefox OS Browser API-specific* | Sent when the text selected inside the browser `<iframe>` (en-US) content changes. |
| `mozbrowserclose` |  | *Firefox OS Browser API-specific* | Sent when window.close() is called within a browser `<iframe>` (en-US). |
| `mozbrowsercontextmenu` |  | *Firefox OS Browser API-specific* | Sent when a browser `<iframe>` (en-US) try to open a context menu. |
| `mozbrowserdocumentfirstpaint` |  | *Firefox OS Browser API-specific* | Sent when a new paint occurs on any document in the browser `<iframe>` (en-US). |
| `mozbrowsererror` |  | *Firefox OS Browser API-specific* | Sent when an error occured while trying to load a content within a browser iframe |
| `mozbrowserfindchange` |  | *Firefox OS Browser API-specific* | Sent when a search operation is performed on the browser `<iframe>` (en-US) content (see HTMLIFrameElement search methods (en-US).) |
| `mozbrowserfirstpaint` |  | *Firefox OS Browser API-specific* | Sent when the `<iframe>` (en-US) paints content for the first time (this doesn't include the initial paint from *about:blank*.) |
| `mozbrowsericonchange` |  | *Firefox OS Browser API-specific* | Sent when the favicon of a browser iframe changes. |
| `mozbrowserlocationchange` |  | *Firefox OS Browser API-specific* | Sent when an browser iframe's location changes. |
| `mozbrowserloadend` |  | *Firefox OS Browser API-specific* | Sent when the browser iframe has finished loading all its assets. |
| `mozbrowserloadstart` |  | *Firefox OS Browser API-specific* | Sent when the browser iframe starts to load a new page. |
| `mozbrowsermanifestchange` |  | *Firefox OS Browser API-specific* | Sent when a the path to the app manifest changes, in the case of a browser `<iframe>` (en-US) with an open web app embedded in it. |
| `mozbrowsermetachange` |  | *Firefox OS Browser API-specific* | Sent when a `<meta>` elelment is added to, removed from or changed in the browser `<iframe>` (en-US)'s content. |
| `mozbrowseropensearch` |  | *Firefox OS Browser API-specific* | Sent when a link to a search engine is found. |
| `mozbrowseropentab` |  | *Firefox OS Browser API-specific* | Sent when a new tab is opened within a browser `<iframe>` (en-US) as a result of the user issuing a command to open a link target in a new tab (for example `ctrl`/`cmd` + click.) |
| `mozbrowseropenwindow` |  | *Firefox OS Browser API-specific* | Sent when `window.open()` (en-US) is called within a browser iframe. |
| `mozbrowserresize` |  | *Firefox OS Browser API-specific* | Sent when the browser `<iframe>` (en-US)'s window size has changed. |
| `mozbrowserscroll` |  | *Firefox OS Browser API-specific* | Sent when the browser `<iframe>` (en-US) content scrolls. |
| `mozbrowserscrollareachanged` |  | *Firefox OS Browser API-specific* | Sent when the available scrolling area in the browser `<iframe>` (en-US) changes. This can occur on resize and when the page size changes (while loading for example.) |
| `mozbrowserscrollviewchange` |  | *Firefox OS Browser API-specific* | Sent when asynchronous scrolling (i.e. APCZ) starts or stops. |
| `mozbrowsersecuritychange` |  | *Firefox OS Browser API-specific* | Sent when the SSL state changes within a browser iframe. |
| `mozbrowserselectionstatechanged` |  | *Firefox OS Browser API-specific* | Sent when the text selected inside the browser `<iframe>` (en-US) content changes. Note that this is deprecated, and newer implementations use `mozbrowsercaretstatechanged` instead. |
| `mozbrowsershowmodalprompt` |  | *Firefox OS Browser API-specific* | Sent when `alert()`, `confirm()` or `prompt()` are called within a browser iframe |
| `mozbrowsertitlechange` |  | *Firefox OS Browser API-specific* | Sent when the document.title changes within a browser iframe. |
| `mozbrowserusernameandpasswordrequired` |  | *Firefox OS Browser API-specific* | Sent when an HTTP authentification is requested. |
| `mozbrowservisibilitychange` |  | *Firefox OS Browser API-specific* | Sent when the visibility state of the current browser iframe `<iframe>` (en-US) changes, for example due to a call to `setVisible()`. |
| `MozGamepadButtonDown` |  | *To be specified* | A gamepad button is pressed down. |
| `MozGamepadButtonUp` |  | *To be specified* | A gamepad button is released. |
| `MozMousePixelScroll (en-US)` 
Устарело
 |  | *Mozilla specific* | The wheel button of a pointing device is rotated (detail attribute is a number of pixels). (use wheel instead) |
| `MozOrientation` 
Устарело
 |  | *Mozilla specific* | Fresh data is available from an orientation sensor (see deviceorientation). |
| `MozScrolledAreaChanged` | `UIEvent` (en-US) | *Mozilla specific* | The document view has been scrolled or resized. |
| `moztimechange` |  | *Mozilla specific* | The time of the device has been changed. |
| MozTouchDown 
Устарело
 |  | *Mozilla specific* | A touch point is placed on the touch surface (use touchstart instead). |
| MozTouchMove 
Устарело
 |  | *Mozilla specific* | A touch point is moved along the touch surface (use touchmove instead). |
| MozTouchUp 
Устарело
 |  | *Mozilla specific* | A touch point is removed from the touch surface (use touchend instead). |
| `alerting` | `CallEvent` | *To be specified* | The correspondent is being alerted (his/her phone is ringing). |
| `busy` | `CallEvent` | *To be specified* | The line of the correspondent is busy. |
| `callschanged` | `CallEvent` | *To be specified* | A call has been added or removed from the list of current calls. |
| onconnected `connected` | `CallEvent` | *To be specified* | A call has been connected. |
| `connecting` | `CallEvent` | *To be specified* | A call is about to connect. |
| `delivered` | `SMSEvent` | *To be specified* | An SMS has been successfully delivered. |
| `dialing` | `CallEvent` | *To be specified* | The number of a correspondent has been dialed. |
| `disabled` |  | *Firefox OS specific* | Wifi has been disabled on the device. |
| `disconnected` | `CallEvent` | *To be specified* | A call has been disconnected. |
| `disconnecting` | `CallEvent` | *To be specified* | A call is about to disconnect. |
| `enabled` |  | *Firefox OS specific* | Wifi has been enabled on the device. |
| `error` | `CallEvent` | *To be specified* | An error occurred. |
| `held` | `CallEvent` | *To be specified* | A call has been held. |
| `holding` | `CallEvent` | *To be specified* | A call is about to be held. |
| `incoming` | `CallEvent` | *To be specified* | A call is being received. |
| `received` | `SMSEvent` | *To be specified* | An SMS has been received. |
| `resuming` | `CallEvent` | *To be specified* | A call is about to resume. |
| `sent` | `SMSEvent` | *To be specified* | An SMS has been sent. |
| `statechange (en-US)` | `CallEvent` | *To be specified* | The state of a call has changed. |
| `statuschange` |  | *Firefox OS specific* | The status of the Wifi connection changed. |
| `overflow` | `UIEvent` (en-US) | *Mozilla specific* | An element has been overflowed by its content or has been rendered for the first time in this state (only works for elements styled with `overflow` != `visible`). |
| `smartcard-insert` |  | *Mozilla specific* | A smartcard has been inserted. |
| `smartcard-remove` |  | *Mozilla specific* | A smartcard has been removed. |
| `stkcommand` |  | *Firefox OS specific* | The STK Proactive Command is issued from ICC. |
| `stksessionend` |  | *Firefox OS specific* | The STK Session is terminated by ICC. |
| `touchenter` | `TouchEvent` | Touch Events Removed |  |
| `touchleave` | `TouchEvent` | Touch Events Removed |  |
| `underflow` | `UIEvent` (en-US) | *Mozilla specific* | An element is no longer overflowed by its content (only works for elements styled with `overflow` != `visible`). |
| `uploadprogress` 
Устарело
 | `ProgressEvent` (en-US) | *Mozilla Specific* | Upload is in progress (see `progress (en-US)`). |
| `ussdreceived` |  | *Firefox OS specific* | A new USSD message is received |
| `voicechange` |  | *Firefox OS specific* | The `MozMobileConnection.voice` object changes values. |
| `msContentZoom` |  | *Microsoft specific* |  |
| `MSManipulationStateChanged` |  | *Microsoft specific* |  |
| `MSPointerHover` 
Устарело
 |  | *Microsoft specific* |  |

События, специфичные для Mozilla
--------------------------------

**Примечание:** those events are never exposed to web content and can only be used in chrome content context.

### XUL события

| Имя события | Тип события | Спецификация | Происходит когда... |
| --- | --- | --- | --- |
| `broadcast` |  | XUL | An `observer` noticed a change to the attributes of a watched broadcaster. |
| `CheckboxStateChange` |  | XUL | The state of a `checkbox` has been changed either by a user action or by a script (useful for accessibility). |
| close |  | XUL | The close button of the window has been clicked. |
| `command` |  | XUL | An element has been activated. |
| `commandupdate` |  | XUL | A command update occurred on a `commandset` element. |
| `DOMMenuItemActive` |  | XUL | A menu or menuitem has been hovered or highlighted. |
| `DOMMenuItemInactive` |  | *XUL* | A menu or menuitem is no longer hovered or highlighted. |
| `popuphidden` | `PopupEvent` | *XUL* | A menupopup, panel or tooltip has been hidden. |
| `popuphiding` | `PopupEvent` | *XUL* | A menupopup, panel or tooltip is about to be hidden. |
| `popupshowing` | `PopupEvent` | *XUL* | A menupopup, panel or tooltip is about to become visible. |
| `popupshown` | `PopupEvent` | *XUL* | A menupopup, panel or tooltip has become visible. |
| `RadioStateChange` |  | XUL | The state of a `radio` has been changed either by a user action or by a script (useful for accessibility). |
| `ValueChange` |  | XUL | The value of an element has changed (a progress bar for example, useful for accessibility). |

### Дополнительные специфичные события

| Имя события | Тип события | Спецификация | Происходит когда... |
| --- | --- | --- | --- |
| MozSwipeGesture |  | *Addons specific* | A touch point is swiped across the touch surface |
| MozMagnifyGestureStart |  | *Addons specific* | Two touch points start to move away from each other. |
| MozMagnifyGestureUpdate |  | *Addons specific* | Two touch points move away from each other (after a MozMagnifyGestureStart). |
| MozMagnifyGesture |  | *Addons specific* | Two touch points moved away from each other (after a sequence of MozMagnifyGestureUpdate). |
| MozRotateGestureStart |  | *Addons specific* | Two touch points start to rotate around a point. |
| MozRotateGestureUpdate |  | *Addons specific* | Two touch points rotate around a point (after a MozRotateGestureStart). |
| MozRotateGesture |  | *Addons specific* | Two touch points rotate around a point (after a sequence of MozRotateGestureUpdate). |
| MozTapGesture |  | *Addons specific* | Two touch points are tapped on the touch surface. |
| MozPressTapGesture |  | *Addons specific* | A "press-tap" gesture happened on the touch surface (first finger down, second finger down, second finger up, first finger up). |
| MozEdgeUIGesture |  | *Addons specific* | A touch point is swiped across the touch surface to invoke the edge UI (Win8 only). |
| MozAfterPaint |  | *Addons specific* | Content has been repainted. |
| DOMPopupBlocked |  | *Addons specific* | popup был блокирован |
| DOMWindowCreated |  | *Addons specific* | Окно было создано. |
| DOMWindowClose |  | *Addons specific* | Окно будет закрыто. |
| DOMTitleChanged |  | *Addons specifc* | Заголовок окна изменён. |
| DOMLinkAdded |  | *Addons specifc* | Ссылка была добавлена внутри документа. |
| DOMLinkRemoved |  | *Addons specifc* | Ссылка была удалена внутри документа. |
| DOMMetaAdded |  | *Addons specific* | A `meta` element has been added to a document. |
| DOMMetaRemoved |  | *Addons specific* | A `meta` element has been removed from a document. |
| DOMWillOpenModalDialog |  | *Addons specific* | A modal dialog is about to open. |
| DOMModalDialogClosed |  | *Addons specific* | A modal dialog has been closed. |
| DOMAutoComplete |  | *Addons specific* | The content of an element has been auto-completed. |
| DOMFrameContentLoaded |  | *Addons specific* | The frame has finished loading (but not its dependent resources). |
| AlertActive |  | *Addons specific* | Элемент `notification` показан. |
| AlertClose |  | *Addons specific* | Элемент `notification` закрыт. |
| fullscreen |  | *Addons specific* | Browser fullscreen mode has been entered or left. |
| sizemodechange |  | *Addons specific* | Window has entered/left fullscreen mode, or has been minimized/unminimized. |
| MozEnteredDomFullscreen |  | *Addons specific* | DOM fullscreen (en-US) mode has been entered. |
| SSWindowClosing |  | *Addons specific* | The session store will stop tracking this window. |
| SSTabClosing |  | *Addons specific* | The session store will stop tracking this tab. |
| SSTabRestoring |  | *Addons specific* | Вкладка будет восстановлена. |
| SSTabRestored |  | *Addons specific* | Вкладка была восстановлена. |
| SSWindowStateReady |  | *Addons specific* | Состояние окна было переключено в состояние "готовое". |
| SSWindowStateBusy |  | *Addons specific* | Состояние окна было переключено в состояние "занятое". |
| TabOpen |  | *Addons specific* | Вкладка была открыта. |
| TabClose |  | *Addons specific* | Вкладка была закрыта. |
| TabSelect |  | *Addons specific* | Вкладка была выбрана. |
| TabShow |  | *Addons specific* | Вкладка была показана. |
| TabHide |  | *Addons specific* | Вкладка был скрыта. |
| TabPinned |  | *Addons specific* | Вкладка была закреплена. |
| TabUnpinned |  | *Addons specific* | Вкладка была откреплена. |

### События, связанные с инструментами разработчика

| Имя события | Тип события | Спецификация | Происходит когда... |
| --- | --- | --- | --- |
| CssRuleViewRefreshed |  | *devtools specific* | Представление "Правила" инспектора стилей было обновлены. |
| CssRuleViewChanged |  | *devtools specific* | Представление "Правила" инспектора стилей было изменены. |
| CssRuleViewCSSLinkClicked |  | *devtools specific* | Ссылка на файл CSS была нажата в представлении «Правила» инспектора стилей. |

Смотрите также
--------------

* `Event`
* Руководство по разработке событий