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

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

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

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

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

Имя события Происходит когда
unsupported templ: event Не удалось загрузить ресурс.
unsupported templ: event Загрузка ресурса была прервана.
unsupported templ: event Ресурс и его зависимые ресурсы завершили загрузку.
unsupported templ: event Окно, документ и его ресурсы будут выгружены.
unsupported templ: event Выгружается документ или зависимый ресурс.
Имя события Происходит когда
unsupported templ: event Браузер получил доступ к сети.
unsupported templ: event Браузер потерял доступ к сети.
Имя события Происходит когда
unsupported templ: event Элемент получил фокус (does not bubble).
unsupported templ: event Элемент потерял фокус (does not bubble).
Имя события Происходит когда
open Установлено соединение с WebSocket.
message Сообщение принимается через WebSocket.
unsupported templ: event Соединение WebSocket было закрыто с предубеждением (например, некоторые данные не могут быть отправлены).
close Соединение WebSocket было закрыто.
Имя события Происходит когда
unsupported templ: event Выполняется обход записей журнала сессии.
unsupported templ: event Выполняется переход к записи журнала сессии.
unsupported templ: event Выполняется переход к записи журнала сессии (в некоторых случаях).
Имя события Происходит когда
unsupported templ: event CSS-анимация началась.
unsupported templ: event CSS-анимация прервалась.
unsupported templ: event CSS-анимация завершена.
unsupported templ: event CSS-анимация повторяется.
Имя события Происходит когда
unsupported templ: event CSS переход уже фактически начался (запустился после каких-либо задержек).
unsupported templ: event CSS переход отменён.
unsupported templ: event CSS переход завершён.
unsupported templ: event CSS переход начал выполняться (запускается до начала любой задержки)..
Имя события Происходит когда
unsupported templ: event Кнопка сброса нажата
unsupported templ: event Кнопка "Отправить" нажата
Имя события Происходит когда
unsupported templ: event Диалоговое окно печати открыто
unsupported templ: event Диалоговое окно печати закрыто
Имя события Происходит когда
unsupported templ: event Подготавливается композиция отрывка текста (аналогично нажатию клавиш для ввода с клавиатуры, но работает с другими входами, такими как распознавание речи).
unsupported templ: event К отрывку составляемого текста добавляется символ.
unsupported templ: event Составление отрывка текста завершено или отменено.
Имя события Происходит когда
unsupported templ: event Элемент был переведён в полноэкранный режим или обратно в нормальный режим.
unsupported templ: event Переход в полноэкранный режим был невозможен по техническим причинам или из-за отказа в разрешении.
unsupported templ: event Размер просмотра документа изменён.
unsupported templ: event Документ или элемент были прокручены.
Имя события Происходит когда
unsupported templ: event Выделение было вырезано и скопировано в буфер обмена
unsupported templ: event Выделение было скопировано в буфер обмена
unsupported templ: event Элемент из буфера обмена был вставлен
Имя события Происходит когда
unsupported templ: event Нажата любая клавиша
unsupported templ: event Любая клавиша, кроме Shift, Fn, CapsLock, находится в нажатом положении. (Происходит непрерывно.)
unsupported templ: event Любая клавиша отпущена
Имя события Происходит когда
unsupported templ: event Кнопка указывающего устройства (любая неосновная кнопка) была нажата и отпущена на элементе.
unsupported templ: event Кнопка указывающего устройства (любая кнопка; soon to be primary button only) была нажата и отпущена на элементе.
unsupported templ: event Правая кнопка мыши щелкнута (перед отображением контекстного меню).
unsupported templ: event На элементе дважды щёлкается кнопка указывающего устройства.
unsupported templ: event На элементе нажимается кнопка указывающего устройства.
unsupported templ: event Указывающее устройство перемещено на элемент, к которому подключён обработчик.
unsupported templ: event Указывающее устройство перемещается от элемента, к которому подключён обработчик.
unsupported templ: event Указывающее устройство перемещается по элементу. (Происходит непрерывно при движении мыши.)
unsupported templ: event Указывающее устройство перемещается на элемент, к которому подключён обработчик, или на один из его дочерних элементов.
unsupported templ: event Указывающее устройство перемещается от элемента, к которому подключён обработчик, или от одного из его дочерних элементов.
unsupported templ: event Кнопка указывающего устройства отпускается над элементом.
unsupported templ: event Указатель был заблокирован или отпущен.
unsupported templ: event Указатель был заблокирован по техническим причинам или из-за отказа в разрешении.
unsupported templ: event Выбирается какой-то текст.
unsupported templ: event Колесо указывающего устройства вращается в любом направлении.
Имя события Происходит когда
unsupported templ: event Элемент или выделение текста перетаскивается. (Срабатывает непрерывно каждые 350 мс)
unsupported templ: event Операция перетаскивания завершается (отпуская кнопку мыши или нажимая клавишу выхода).
unsupported templ: event Перетаскиваемый элемент или выделенный текст попадает в допустимую цель перетаскивания.
unsupported templ: event Пользователь начинает перетаскивать элемент или выделенный текст.
unsupported templ: event Перетаскиваемый элемент или выделенный текст оставляет допустимую цель перетаскивания.
unsupported templ: event Выбранный элемент или текст перетаскивается над допустимой целью перетаскивания. (Срабатывает непрерывно каждые 350 мс)
unsupported templ: event An element is dropped on a valid drop target.
Имя события Происходит когда
unsupported templ: event Входной буфер ScriptProcessorNode готов к обработке.
unsupported templ: event Браузер может воспроизводить мультимедиа, но оценивает, что было загружено недостаточно данных для воспроизведения мультимедиа до конца без необходимости останавливаться для дальнейшей буферизации содержимого.
unsupported templ: event Браузер оценивает, что он может воспроизводить мультимедиа до конца, не останавливаясь для буферизации контента.
unsupported templ: event Рендеринг OfflineAudioContext закончен.
unsupported templ: event Атрибут duration был обновлён.
unsupported templ: event Медиа стало пустым; например, это событие отправляется, если медиа уже загружено (или частично загружено), и метод load() вызывается, чтобы перезагрузить его.
unsupported templ: event Воспроизведение остановлено, поскольку достигнут конец медиа.
unsupported templ: event Закончилась загрузка первого фрейма медиа.
unsupported templ: event Метаданные загружены.
unsupported templ: event Воспроизведение было приостановлено.
unsupported templ: event Воспроизведение началось.
unsupported templ: event Воспроизведение готово к запуску после того, как оно было приостановлено или отложено из-за отсутствия данных.
unsupported templ: event Скорость воспроизведения изменилась.
unsupported templ: event Операция seek завершена.
unsupported templ: event Операция seek начата.
unsupported templ: event Пользовательский агент пытается получить мультимедийные данные, но данные неожиданно не поступают..
unsupported templ: event Загрузка медиаданных приостановлена.
unsupported templ: event Время, указанное атрибутом currentTime, было обновлено.
unsupported templ: event Громкость изменилась.
unsupported templ: event Воспроизведение остановлено из-за временной нехватки данных.
Имя события Происходит когда
abort Выполнение остановлено (не из-за ошибки).
unsupported templ: event Выполнение не удалось.
load Выполнено успешно.
unsupported templ: event Выполнение остановлено (после отправки "error", "abort" или "load").
unsupported templ: event Выполнение началось.
unsupported templ: event В ходе выполнения.
unsupported templ: event Выполнение прекращено по истечении установленного времени.

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

unsupported templ: event (see Non-standard events) unsupported templ: event

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

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События изменения значений

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События без категорий

unsupported templ: event message message open show

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

Abortable Fetch события

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

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

Имя события Происходит когда
unsupported templ: event 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.
unsupported templ: event when presentation to a VRDisplay 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.
unsupported templ: event when a compatible VRDisplay is connected to the computer.
unsupported templ: event When a VRDisplay can no longer be presented to, for example if an HMD has gone into standby or sleep mode due to a period of inactivity.
unsupported templ: event When a compatible VRDisplay is disconnected from the computer.
unsupported templ: event When presentation to a VRDisplay has resumed after being blurred.
unsupported templ: event The presenting state of a VRDisplay changes — i.e. goes from presenting to not presenting, or vice versa.

SVG события

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События базы данных

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

unsupported templ: event unsupported templ: event

События меню

unsupported templ: event unsupported templ: event

События окон

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События вкладок

unsupported templ: event

События батареи

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События вызовов

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event, unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

Сенсорные события

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

Smartcard события

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

SMS и USSD события

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

Frame события

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События изменения DOM

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

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

События указателя

unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event unsupported templ: event

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

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

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

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

Имя события Тип события Спецификация Происходит когда...
unsupported templ: event Event Mozilla Specific A script has been executed.
unsupported templ: event Event Mozilla Specific A script is about to be executed.
unsupported templ: event Event Chrome specific A user is prompted to save a web site to a home screen on mobile.
unsupported templ: event Firefox OS specific The MozMobileConnection.cardState property changes value.
unsupported templ: event DeviceStorageChangeEvent Firefox OS specific This event is triggered each time a file is created, modified or deleted on a given storage area.
unsupported templ: event Firefox OS specific The informations about the signal strength and the link speed have been updated.
unsupported templ: event Firefox OS specific The call forwarding state changes.
unsupported templ: event Firefox OS specific The MozMobileConnection.data object changes values.
unsupported templ: event Firefox OS specific The MozMobileConnection.data object receive an error from the RIL.
unsupported templ: event Устарело Mozilla specific The wheel button of a pointing device is rotated (detail attribute is a number of lines). (use unsupported templ: event instead)
dragdrop Устарело DragEvent Mozilla specific An element is dropped (use unsupported templ: event instead).
dragexit Устарело DragEvent Mozilla specific A drag operation is being ended(use unsupported templ: event instead).
draggesture Устарело DragEvent Mozilla specific The user starts dragging an element or text selection (use unsupported templ: event instead).
unsupported templ: event Firefox OS specific the MozMobileConnection.unlockCardLock() or MozMobileConnection.setCardLock() methods fails.
unsupported templ: event Firefox OS specific The MozMobileConnection.iccInfo object changes.
unsupported templ: event Mozilla Specific The page has been localized using data-l10n-* attributes.
unsupported templ: event Устарело IE invented The wheel button of a pointing device is rotated.
unsupported templ: event 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.
unsupported templ: event Firefox OS Browser API-specific Sent when some activity has been completed (complete description TBD.)
unsupported templ: event Firefox OS Browser API-specific Sent when the scroll position within a browser <iframe> changes.
unsupported templ: event Firefox OS Browser API-specific Sent when audio starts or stops playing within the browser <iframe> content.
unsupported templ: event Firefox OS Browser API-specific Sent when the text selected inside the browser <iframe> content changes.
unsupported templ: event Firefox OS Browser API-specific Sent when window.close() is called within a browser <iframe>.
unsupported templ: event Firefox OS Browser API-specific Sent when a browser <iframe> try to open a context menu.
unsupported templ: event Firefox OS Browser API-specific Sent when a new paint occurs on any document in the browser <iframe>.
unsupported templ: event Firefox OS Browser API-specific Sent when an error occured while trying to load a content within a browser iframe
unsupported templ: event Firefox OS Browser API-specific Sent when a search operation is performed on the browser <iframe> content (see HTMLIFrameElement search methods.)
unsupported templ: event Firefox OS Browser API-specific Sent when the <iframe> paints content for the first time (this doesn't include the initial paint from about:blank.)
unsupported templ: event Firefox OS Browser API-specific Sent when the favicon of a browser iframe changes.
unsupported templ: event Firefox OS Browser API-specific Sent when an browser iframe's location changes.
unsupported templ: event Firefox OS Browser API-specific Sent when the browser iframe has finished loading all its assets.
unsupported templ: event Firefox OS Browser API-specific Sent when the browser iframe starts to load a new page.
unsupported templ: event Firefox OS Browser API-specific Sent when a the path to the app manifest changes, in the case of a browser <iframe> with an open web app embedded in it.
unsupported templ: event Firefox OS Browser API-specific Sent when a <meta> elelment is added to, removed from or changed in the browser <iframe>'s content.
unsupported templ: event Firefox OS Browser API-specific Sent when a link to a search engine is found.
unsupported templ: event Firefox OS Browser API-specific Sent when a new tab is opened within a browser <iframe> as a result of the user issuing a command to open a link target in a new tab (for example ctrl/cmd + click.)
unsupported templ: event Firefox OS Browser API-specific Sent when window.open() is called within a browser iframe.
unsupported templ: event Firefox OS Browser API-specific Sent when the browser <iframe>'s window size has changed.
unsupported templ: event Firefox OS Browser API-specific Sent when the browser <iframe> content scrolls.
unsupported templ: event Firefox OS Browser API-specific Sent when the available scrolling area in the browser <iframe> changes. This can occur on resize and when the page size changes (while loading for example.)
unsupported templ: event Firefox OS Browser API-specific Sent when asynchronous scrolling (i.e. APCZ) starts or stops.
unsupported templ: event Firefox OS Browser API-specific Sent when the SSL state changes within a browser iframe.
unsupported templ: event Firefox OS Browser API-specific Sent when the text selected inside the browser <iframe> content changes. Note that this is deprecated, and newer implementations use unsupported templ: event instead.
unsupported templ: event Firefox OS Browser API-specific Sent when alert(), confirm() or prompt() are called within a browser iframe
unsupported templ: event Firefox OS Browser API-specific Sent when the document.title changes within a browser iframe.
unsupported templ: event Firefox OS Browser API-specific Sent when an HTTP authentification is requested.
unsupported templ: event Firefox OS Browser API-specific Sent when the visibility state of the current browser iframe <iframe> changes, for example due to a call to setVisible().
unsupported templ: event To be specified A gamepad button is pressed down.
unsupported templ: event To be specified A gamepad button is released.
unsupported templ: event Устарело Mozilla specific The wheel button of a pointing device is rotated (detail attribute is a number of pixels). (use wheel instead)
unsupported templ: event Устарело Mozilla specific Fresh data is available from an orientation sensor (see deviceorientation).
unsupported templ: event UIEvent Mozilla specific The document view has been scrolled or resized.
unsupported templ: event 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).
unsupported templ: event CallEvent To be specified The correspondent is being alerted (his/her phone is ringing).
unsupported templ: event CallEvent To be specified The line of the correspondent is busy.
unsupported templ: event CallEvent To be specified A call has been added or removed from the list of current calls.
onconnected unsupported templ: event CallEvent To be specified A call has been connected.
unsupported templ: event CallEvent To be specified A call is about to connect.
unsupported templ: event SMSEvent To be specified An SMS has been successfully delivered.
unsupported templ: event CallEvent To be specified The number of a correspondent has been dialed.
unsupported templ: event Firefox OS specific Wifi has been disabled on the device.
unsupported templ: event CallEvent To be specified A call has been disconnected.
unsupported templ: event CallEvent To be specified A call is about to disconnect.
unsupported templ: event Firefox OS specific Wifi has been enabled on the device.
unsupported templ: event CallEvent To be specified An error occurred.
unsupported templ: event CallEvent To be specified A call has been held.
unsupported templ: event CallEvent To be specified A call is about to be held.
unsupported templ: event CallEvent To be specified A call is being received.
unsupported templ: event SMSEvent To be specified An SMS has been received.
unsupported templ: event CallEvent To be specified A call is about to resume.
unsupported templ: event SMSEvent To be specified An SMS has been sent.
unsupported templ: event CallEvent To be specified The state of a call has changed.
unsupported templ: event Firefox OS specific The status of the Wifi connection changed.
unsupported templ: event UIEvent 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).
unsupported templ: event Mozilla specific A smartcard has been inserted.
unsupported templ: event Mozilla specific A smartcard has been removed.
unsupported templ: event Firefox OS specific The STK Proactive Command is issued from ICC.
unsupported templ: event Firefox OS specific The STK Session is terminated by ICC.
unsupported templ: event TouchEvent Touch Events Removed
unsupported templ: event TouchEvent Touch Events Removed
unsupported templ: event UIEvent Mozilla specific An element is no longer overflowed by its content (only works for elements styled with overflow != visible).
uploadprogress Устарело ProgressEvent Mozilla Specific Upload is in progress (see unsupported templ: event).
unsupported templ: event Firefox OS specific A new USSD message is received
unsupported templ: event Firefox OS specific The MozMobileConnection.voice object changes values.
unsupported templ: event Microsoft specific
unsupported templ: event Microsoft specific
unsupported templ: event Устарело Microsoft specific

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