diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8568bf437711a7..8513c932dedfb0 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -34,7 +34,7 @@ See the [Creating a pull request](#creating-a-pull-request) for more details on If you're not certain of the changes that you want to make, [get in touch with us][]! -> **Note:** You can click the **View the source on GitHub** or **Edit the page on GitHub** link at the bottom of an MDN page to jump directly to the page source on GitHub. +> **Note:** You may click the **View this page on GitHub** or **Report a problem with this content** link at the bottom of an MDN page, to either jump directly to the page source or raise an issue on GitHub. ### Forking and cloning the repository diff --git a/files/ja/mozilla/firefox/releases/130/index.md b/files/ja/mozilla/firefox/releases/130/index.md new file mode 100644 index 00000000000000..c8dda68123f7cf --- /dev/null +++ b/files/ja/mozilla/firefox/releases/130/index.md @@ -0,0 +1,74 @@ +--- +title: Firefox 130 for developers +slug: Mozilla/Firefox/Releases/130 +l10n: + sourceCommit: 2cca85442dcfa50e82bffb7e2c0dbae4c5158256 +--- + +{{FirefoxSidebar}} + +このページでは、開発者に影響する Firefox 130 の変更点をまとめています。Firefox 130 は、米国時間 [2024 年 9 月 3 日](https://whattrainisitnow.com/release/?version=130) にリリースされました。 + +## ウェブ開発者向けの変更点一覧 + +### HTML + +- `
` 要素の [`name`](/ja/docs/Web/HTML/Element/details#name) 属性で、`
` 要素のグループ化が可能になりました。グループの中で同時にひとつの要素だけを開くことができます。これにより、JavaScript を使用せずに排他的なアコーディオンを作成できます ([Firefox bug 1856460](https://bugzil.la/1856460)、[Firefox bug 1909613](https://bugzil.la/1909613))。 +- [シャドウ DOM](/ja/docs/Web/API/Web_components/Using_shadow_DOM#attribute_inheritance) における動作など、[`dir`](/ja/docs/Web/HTML/Global_attributes/dir) および [`lang`](/ja/docs/Web/HTML/Global_attributes/lang) [グローバル属性](/ja/docs/Web/HTML/Global_attributes) の継承を改良しました ([Firefox bug 1876163](https://bugzil.la/1876163))。 + +### CSS + +- [`hyphens`](/ja/docs/Web/CSS/hyphens) CSS プロパティで、チェコ語とスロバキア語を適切にサポートしました。 + 特に、単語が音節で分けられることがなくなりました ([Firefox bug 1908931](https://bugzil.la/1908931))。 + +### API + +- [X25519](/ja/docs/Web/API/SubtleCrypto/deriveKey#x25519) デジタル署名アルゴリズムを [Web Crypto API](/ja/docs/Web/API/Web_Crypto_API) でサポートして、{{domxref("SubtleCrypto")}} の {{domxref("SubtleCrypto.deriveKey()", "deriveKey()")}}、{{domxref("SubtleCrypto.deriveBits()", "deriveBits()")}}、{{domxref("SubtleCrypto.generateKey()", "generateKey()")}}、{{domxref("SubtleCrypto.importKey()", "importKey()")}}、{{domxref("SubtleCrypto.exportKey()", "exportKey()")}} メソッドで使用可能になりました ([Firefox bug 1904836](https://bugzil.la/1904836))。 +- [Web Codecs API](/ja/docs/Web/API/WebCodecs_API) をデスクトップ版でサポートしました。動画の個々のフレームや音声チャンクに対して、ウェブ開発者が低水準でアクセスできます。Android 版のサポートは Nightly リリースで有効です。新たに [`VideoEncoder`](/ja/docs/Web/API/VideoEncoder)、[`VideoDecoder`](/ja/docs/Web/API/VideoDecoder)、[`EncodedVideoChunk`](/ja/docs/Web/API/EncodedVideoChunk)、[`VideoFrame`](/ja/docs/Web/API/VideoFrame)、[`VideoColorSpace`](/ja/docs/Web/API/VideoColorSpace) インターフェイスをサポートしました ([Firefox bug 1908572](https://bugzil.la/1908572))。 + +#### 廃止 + +- {{domxref('WebGLRenderingContext.drawingBufferColorSpace')}} および [`WebGL2RenderingContext.drawingBufferColorSpace`](/ja/docs/Web/API/WebGL2RenderingContext) を [Firefox 127](/ja/docs/Mozilla/Firefox/Releases/127) で (実装がなく) 早期リリースしていましたが、削除しました ([Firefox bug 1909559](https://bugzil.la/1909559))。 + +### WebAssembly + +#### 一般 + +- デフォルトでシステムアドオンが完全に無効化されるようになりました ([Firefox bug 1904310](https://bugzil.la/1904310))。 +- Android で、内部プロンプトリスナーが適切なユーザープロンプトを正しく選択するように不具合を修正しました ([Firefox bug 1902264](https://bugzil.la/1902264))。 + +#### WebDriver BiDi + +- ナビゲーションの試行が完了しないときに発生する、`browsingContext.navigationFailed` イベントをサポートしました ([Firefox bug 1846601](https://bugzil.la/1846601))。 +- `network.setCacheBehavior` コマンドで、ネットワークキャッシュの動作をグローバルおよび個々のナビゲーブルの両方で同時に定義可能になりました ([Firefox bug 1905307](https://bugzil.la/1905307))。 +- `network.responseCompleted` および `network.fetchError` イベントが実際のリクエストが停止したときに発生するようになり、`network.responseCompleted` イベントの前に `browsingContext.domContentLoaded` および `browsingContext.load` イベントが発生する競合状態が解消しました ([Firefox bug 1882803](https://bugzil.la/1882803))。 +- Data URL (たとえば背景画像やフェッチ要求のため) を、すべてのネットワークイベントにわたって完全にサポートしました ([Firefox bug 1904343](https://bugzil.la/1904343))。 +- `network.continueWithAuth` コマンドを呼び出すごとに、`network.authRequired` イベントが複数回送信される不具合を修正しました ([Firefox bug 1899711](https://bugzil.la/1899711))。 + +#### Marionette + +- 要素がまた表示されていない場合に限りスクロールして表示するように、`WebDriver:ElementSendKeys` の不具合を修正しました ([Firefox bug 1906095](https://bugzil.la/1906095))。 + +## アドオン開発者向けの変更点一覧 + +- {{WebExtAPIRef("webRequest.getSecurityInfo")}} の引数 `options` が省略可能になりました ([Firefox bug 1909474](https://bugzil.la/1909474))。 +- {{WebExtAPIRef("runtime.getURL")}} (および非推奨の {{WebExtAPIRef("extension.getURL")}}) が、追加の正規化を行わずに拡張機能のオリジンを常にパスの先頭へ追加するようになりました。以前は絶対 URL が与えられたときに、相対的な URL ではなく絶対 URL を返していました ([Firefox bug 1795082](https://bugzil.la/1795082))。 + +## 実験的なウェブ機能 + +以下の機能は Firefox 130 で新たに導入しましたが、デフォルトで無効です。これらを実験するには、`about:config` ページで適切な設定項目を検索して `true` に設定してください。[実験的機能](/ja/docs/Mozilla/Firefox/Experimental_features) のページで、さらに多くの機能を確認できます。 + +- **動画フレームのコールバックを要求する:** `media.rvfc.enabled`。 + + {{domxref('HTMLVideoElement')}} インターフェイスの {{domxref('HTMLVideoElement/requestVideoFrameCallback','requestVideoFrameCallback()')}} メソッドは、新しい動画フレームがコンポジターへ送信されたときに実行するコールバック関数を登録します。これは動画の分析、キャンバスへの描画、外部音声ソースとの同期など、開発者がそれぞれの動画フレームで効率的に処理を行うことを可能にします。このメソッドは、未処理のコールバック要求をキャンセルするために {{domxref('HTMLVideoElement.cancelVideoFrameCallback()')}} へ渡すことができるコールバックハンドラーを返します。 + どちらのメソッドも、Nightly ビルドではデフォルトで使用可能です ([Firefox bug 1800882](https://bugzil.la/1800882))。 + +- **Reporting API を使用した CSP 違反報告:** `dom.reporting.enabled`。 + + [Content Security Policy (CSP)](/ja/docs/Web/HTTP/CSP) 違反の報告に [Reporting API](/ja/docs/Web/API/Reporting_API) が使用可能になりました。 + これは値が `"csp-violation"` である `type` プロパティと {{domxref('CSPViolationReportBody')}} のインスタンスである `body` プロパティを持つ {{domxref('Report')}} オブジェクト、{{httpheader('Content-Security-Policy')}} HTTP レスポンスヘッダーの {{CSP("report-to")}} ディレクティブ、{{httpheader('Reporting-Endpoints')}} HTTP レスポンスヘッダー、{{httpheader('Report-To')}} HTTP レスポンスヘッダーのサポートを含みます。 + この機能はデフォルトで無効です ([Firefox bug 1391243](https://bugzil.la/1391243))。 + +## 過去のバージョン + +{{Firefox_for_developers}} diff --git a/files/ja/web/api/pluginarray/index.md b/files/ja/web/api/pluginarray/index.md index 50ce956299cdc2..424c27a82d38d6 100644 --- a/files/ja/web/api/pluginarray/index.md +++ b/files/ja/web/api/pluginarray/index.md @@ -1,23 +1,78 @@ --- title: PluginArray slug: Web/API/PluginArray +l10n: + sourceCommit: 802b6063046dffb7634d2138aadcd92cb22ed40c --- -{{ApiRef}} {{non-standard_header}} +{{APIRef("HTML DOM")}}{{deprecated_header}} -`PluginArray` インターフェースには使用可能なプラグインのリストが格納されています。 {{domxref("window.navigator.plugins")}} プロパティによって返されます。 +`PluginArray` インターフェイスは、利用可能な[プラグイン](/ja/docs/Mozilla/Add-ons/Plugins)を記述する {{DOMxRef("Plugin")}} のリストを格納するために使用されます。これは {{DOMxRef("Navigator.plugins", "navigator.plugins")}} プロパティから返されます。`PluginArray` は JavaScript の配列ではありませんが、`length` プロパティがあり、それぞれのアイテムにブラケット記法 (`plugins[2]`) を使用すると、`item(index)` や `namedItem("name")` メソッドと同様にアクセスできます。 -## プロパティ +> [!NOTE] +> 最新バージョンのブラウザーでは、`PluginArray` オブジェクトの自分自身でプロパティを列挙できなくなくなりました。 -| プロパティ名 | 説明 | 戻り値の型 | 可用性 | -| --------------------------------- | ---------------------------------------------------- | ------------- | ------ | -| {{domxref("PluginArray.length")}} | プラグインリスト配列中のプラグイン数。**読取専用**。 | unsigned long | DOM 0 | +## インスタンスプロパティ -## メソッド +- {{DOMxRef("PluginArray.length")}} {{ReadOnlyInline}} {{Deprecated_Inline}} + - : この配列内のプラグインの数です。 -- {{domxref("PluginArray.item")}} - - : プラグインリスト配列中の指定したインデックスにある {{domxref("Plugin")}} を返す -- {{domxref("PluginArray.namedItem")}} - - : プラグインリスト配列中の指定した名称の {{domxref("Plugin")}} を返す -- {{domxref("PluginArray.refresh")}} - - : 現在のページの全てのプラグインを更新。必要に応じて文書を再読み込みします。 +## インスタンスメソッド + +- {{DOMxRef("PluginArray.item")}} {{Deprecated_Inline}} + - : プラグインリスト配列中の指定したインデックスにある {{DOMxRef("Plugin")}} を返す +- {{DOMxRef("PluginArray.namedItem")}} {{Deprecated_Inline}} + - : プラグインリスト配列中の指定した名称の {{DOMxRef("Plugin")}} を返す +- {{DOMxRef("PluginArray.refresh")}} {{Deprecated_Inline}} + - : 現在のページの全てのプラグインを更新します。必要に応じて文書を再読み込みします。 + +## 例 + +次の例の関数は、Shockwave Flash プラグインのバージョンを返します。 + +```js +const pluginsLength = navigator.plugins.length; + +document.body.innerHTML = + `${pluginsLength} Plugin(s)
` + + `` + + `` + + `
NameFilenamedescriptionversion
`; + +const table = document.getElementById("pluginTable"); + +for (let i = 0; i < pluginsLength; i++) { + let newRow = table.insertRow(); + newRow.insertCell().textContent = navigator.plugins[i].name; + newRow.insertCell().textContent = navigator.plugins[i].filename; + newRow.insertCell().textContent = navigator.plugins[i].description; + newRow.insertCell().textContent = navigator.plugins[i].version ?? ""; +} +``` + +次の例は、インストールされているプラグインに関する情報を表示します。 + +```js +const pluginsLength = navigator.plugins.length; + +document.write( + `${pluginsLength.toString()} Plugin(s)
` + + `Name | Filename | description
`, +); + +for (let i = 0; i < pluginsLength; i++) { + document.write( + `${navigator.plugins[i].name} | ${navigator.plugins[i].filename} | ${navigator.plugins[i].description} | ${navigator.plugins[i].version}
`, + ); +} +``` + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +Firefox では、ゼロインデックスの数値プロパティによる擬似配列として各プラグインが掲載されていることに加え、PluginArray オブジェクトにプラグイン名が直接指定されたプロパティが提供されています。 diff --git a/files/ja/web/api/pointerevent/altitudeangle/azimuth_altitude_angles.svg b/files/ja/web/api/pointerevent/altitudeangle/azimuth_altitude_angles.svg new file mode 100644 index 00000000000000..52d4ccaf0b3ef3 --- /dev/null +++ b/files/ja/web/api/pointerevent/altitudeangle/azimuth_altitude_angles.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +高度角(Altitude angle)方位角(Azimuth angle)X 軸X 軸Y 軸 diff --git a/files/ja/web/api/pointerevent/altitudeangle/index.md b/files/ja/web/api/pointerevent/altitudeangle/index.md new file mode 100644 index 00000000000000..192fed6f686487 --- /dev/null +++ b/files/ja/web/api/pointerevent/altitudeangle/index.md @@ -0,0 +1,49 @@ +--- +title: "PointerEvent: altitudeAngle プロパティ" +short-title: altitudeAngle +slug: Web/API/PointerEvent/altitudeAngle +l10n: + sourceCommit: 6636dfb792a72346c68e44c9d042e3c2219e522b +--- + +{{ APIRef("Pointer Events") }}{{SeeCompatTable}} + +**`altitudeAngle`** は {{domxref("PointerEvent")}} インターフェイスの読み取り専用のプロパティで、トランスデューサー(ポインターまたはスタイラス)の軸と端末画面の X-Y 平面の間の角度を表します。 +高度角 (altitude angle) は、トランスデューサーが画面に対して垂直であるか、平行であるか、またはその中間の角度であるかを示します。 + +特定のハードウェアやプラットフォームによっては、ユーザーエージェントが画面平面に相対するトランスデューサーの方向として、{{domxref("PointerEvent.tiltx", "tiltX")}} と {{domxref("PointerEvent.tilty", "tiltY")}}、または `altitudeAngle` と {{domxref("PointerEvent.azimuthAngle", "azimuthAngle")}} のいずれか一組の値しか受け取らない可能性があります。 + +![ポインターの方位角と高度角の比較](./azimuth_altitude_angles.svg) + +このプロパティの追加の説明については、[仕様書の Figure 4](https://w3c.github.io/pointerevents/#figure_altitudeAngle) を参照してください。 + +## 値 + +`0` から `π/2` までのラジアンにおける角度で、`0` は機器の表面(X-Y 平面)と平行であり、 `π/2` は表面に対して垂直です。 +既定では `π/2`(表面に対して垂直)となり、[タッチイベントにおける `altitudeAngle`](https://w3c.github.io/touch-events/#dom-touch-altitudeangle) の既定値である `0`(表面に対して並列)とは異なります。傾きや角度を報告しないハードウェアやプラットフォームでは、値は `π/2` となります。 + +## 例 + +```js +someElement.addEventListener( + "pointerdown", + (event) => { + process_angles(event.altitudeAngle, event.azimuthAngle); + }, + false, +); +``` + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- {{ domxref("PointerEvent.azimuthAngle") }} +- {{ domxref("PointerEvent.tiltX") }} +- {{ domxref("PointerEvent.tiltY") }} diff --git a/files/ja/web/api/pointerevent/azimuthangle/azimuth_altitude_angles.svg b/files/ja/web/api/pointerevent/azimuthangle/azimuth_altitude_angles.svg new file mode 100644 index 00000000000000..52d4ccaf0b3ef3 --- /dev/null +++ b/files/ja/web/api/pointerevent/azimuthangle/azimuth_altitude_angles.svg @@ -0,0 +1,18 @@ + + + + + + + + + + + + + + + + + +高度角(Altitude angle)方位角(Azimuth angle)X 軸X 軸Y 軸 diff --git a/files/ja/web/api/pointerevent/azimuthangle/index.md b/files/ja/web/api/pointerevent/azimuthangle/index.md new file mode 100644 index 00000000000000..f5617f6db4dd19 --- /dev/null +++ b/files/ja/web/api/pointerevent/azimuthangle/index.md @@ -0,0 +1,50 @@ +--- +title: "PointerEvent: azimuthAngle プロパティ" +short-title: azimuthAngle +slug: Web/API/PointerEvent/azimuthAngle +l10n: + sourceCommit: 6636dfb792a72346c68e44c9d042e3c2219e522b +--- + +{{ APIRef("Pointer Events") }}{{SeeCompatTable}} + +**`azimuthAngle`** は {{domxref("PointerEvent")}} インターフェイスの読み取り専用プロパティで、 Y-Z 平面と、トランスデューサー(ポインターまたはスタイラス)の軸および Y 軸の両方を含む平面との間の角度を表します。 + +特定のハードウェアやプラットフォームによっては、ユーザーエージェントが画面平面に相対するトランスデューサーの方向として、{{domxref("PointerEvent.tiltx", "tiltX")}} と {{domxref("PointerEvent.tilty", "tiltY")}}、または {{domxref("PointerEvent.altitudeAngle", "altitudeAngle")}} と `azimuthAngle` のいずれか一組の値しか受け取らない可能性があります。 + +![ポインターの方位角と高度角の比較](./azimuth_altitude_angles.svg) + +このプロパティの追加の説明については、[仕様書の Figure 5](https://w3c.github.io/pointerevents/#figure_azimuthAngle) を参照してください。 + +## 値 + +`0` から `2π` までのラジアンによる角度で、`0` は X-Y 平面上で、キャップが X 値の増加方向(真下に見て「3 時」の方向)を向いているトランスデューサーを表します。時計回りに進むにつれて値が徐々に増加します(「6 時」の位置で`π/2`、「9 時」の位置で`π`、「12 時」の位置で`3π/2`)。 + +トランスデューサーが表面に対して垂直({{domxref("PointerEvent.altitudeAngle", "altitudeAngle")}} が `π/2`)の場合、値は 0 になります。 +傾きや角度を報告しないハードウェアやプラットフォームでは、値は `0` です。 + +## 例 + +```js +someElement.addEventListener( + "pointerdown", + (event) => { + process_angles(event.altitudeAngle, event.azimuthAngle); + }, + false, +); +``` + +## 仕様書 + +{{Specifications}} + +## ブラウザーの互換性 + +{{Compat}} + +## 関連情報 + +- {{ domxref("PointerEvent.altitudeAngle") }} +- {{ domxref("PointerEvent.tiltX") }} +- {{ domxref("PointerEvent.tiltY") }} diff --git a/files/ja/web/api/pointerevent/height/index.md b/files/ja/web/api/pointerevent/height/index.md index 373b8734ae53d3..04726a3589a83e 100644 --- a/files/ja/web/api/pointerevent/height/index.md +++ b/files/ja/web/api/pointerevent/height/index.md @@ -1,25 +1,26 @@ --- -title: PointerEvent.height +title: "PointerEvent: height プロパティ" +short-title: height slug: Web/API/PointerEvent/height l10n: - sourceCommit: 4b4638246aad5d39b9a2e5c572b179b4c39c0a84 + sourceCommit: c58e8c1dd6ecbcb63894c7dd17fb9495b9511b4e --- {{ APIRef("Pointer Events") }} -{{domxref("PointerEvent")}} インターフェイスの読み取り専用プロパティである **`height`** は、ポインターの接触ジオメトリーの高さを y 軸に従って表します (CSS ピクセル単位)。またポインターデバイスのソース (指など) によっては、与えられたポインターに対して、各イベントが異なる値を生成することがあります。 +**`height`** は {{domxref("PointerEvent")}} インターフェイスの読み取り専用プロパティで、ポインターの接触形状の y 軸方向の高さを(CSS ピクセル単位で)表します。またポインター機器のソース (指など) によっては、与えられたポインターに対して、各イベントが異なる値を生成することがあります。 -入力ハードウェアが接触ジオメトリーをブラウザーに報告できない場合、高さはデフォルトで `1` になります。 +入力ハードウェアが接触形状をブラウザーに報告できない場合、高さは既定で `1` になります。 ## 値 -イベントの接触ジオメトリーの高さ (CSS ピクセル単位)。 +イベントの接触領域の高さ(CSS ピクセル単位)。 ## 例 このプロパティの例は [PointerEvent.width の例](/ja/docs/Web/API/PointerEvent/width#例)に含まれています。 -## 仕様 +## 仕様書 {{Specifications}} diff --git a/files/ja/web/api/pointerevent/index.md b/files/ja/web/api/pointerevent/index.md index 252626895d325d..daf91187c04b3f 100644 --- a/files/ja/web/api/pointerevent/index.md +++ b/files/ja/web/api/pointerevent/index.md @@ -2,14 +2,14 @@ title: PointerEvent slug: Web/API/PointerEvent l10n: - sourceCommit: c5240154445333f79ea4fc8a4c9843da99a198b2 + sourceCommit: ba77b09c606b1b5fdea532e84b980cd0e79f226d --- {{ APIRef("Pointer Events") }} **`PointerEvent`** インターフェイスは、接触点の形状、イベントを生成した機器の種類、接触面に加えられた圧力の量など、ポインターによって生成された DOM イベントの状態を表します。 -*ポインター*は、入力機器(マウス、ペン、またはタッチ可能な面の上の接触点など)のハードウェアにとらわれない表現です。 ポインターは、画面などの接触面上の特定の座標(または座標の集合)をターゲットにすることができます。 +*ポインター*は、入力機器(マウス、ペン、またはタッチパネルの上の接触点など)のハードウェアにとらわれない表現です。 ポインターは、画面などの接触面上の特定の座標(または座標の集合)をターゲットにすることができます。 ポインターの*ヒットテスト*は、ブラウザーがポインターイベントのターゲット要素を決定するために使用する手続です。通常、これはポインターの位置と、画面媒体上の文書内の要素の視覚的なレイアウトを考慮して決定します。 @@ -24,40 +24,46 @@ l10n: _このインターフェイスは、{{domxref("MouseEvent")}} および {{domxref("Event")}} からプロパティを継承しています。_ -- {{ domxref('PointerEvent.pointerId')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.altitudeAngle')}} {{ReadOnlyInline}} {{experimental_inline}} + - : トランスデューサー(ポインターまたはスタイラス)の軸と機器の画面の X-Y 平面のなす角度を表します。 +- {{domxref('PointerEvent.azimuthAngle')}} {{ReadOnlyInline}} {{experimental_inline}} + - : Y-Z 平面と、トランスデューサー(ポインターまたはスタイラス)の軸と Y 軸の両方を格納する平面との間の角度を表します。 +- {{domxref('PointerEvent.persistentDeviceId')}} {{ReadOnlyInline}} {{experimental_inline}} + - : `PointerEvent` を生成するポインティングデバイス用の固有の識別子。 +- {{domxref('PointerEvent.pointerId')}} {{ReadOnlyInline}} - : イベントの原因となっているポインターの一意の識別子。 -- {{ domxref('PointerEvent.width')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.width')}} {{ReadOnlyInline}} - : ポインターの接触形状の幅(X 軸上の大きさ、CSS ピクセル単位)。 -- {{ domxref('PointerEvent.height')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.height')}} {{ReadOnlyInline}} - : ポインターの接触形状の高さ(Y 軸上の大きさ、CSS ピクセル単位)。 -- {{ domxref('PointerEvent.pressure')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.pressure')}} {{ReadOnlyInline}} - : 0 から 1 の範囲のポインター入力の正規化された圧力。 ここで、0 と 1 は、それぞれハードウェアが検出できる最小圧力と最大圧力を表します。 -- {{ domxref('PointerEvent.tangentialPressure')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.tangentialPressure')}} {{ReadOnlyInline}} - : ポインター入力の正規化された接線圧力(バレル圧力またはシリンダー応力([cylinder stress](https://en.wikipedia.org/wiki/Cylinder_stress))とも呼ばれます)は `-1` から `1` の範囲で、 `0` はコントロールの中立位置です。 -- {{ domxref('PointerEvent.tiltX')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.tiltX')}} {{ReadOnlyInline}} - : Y-Z 平面と、ポインター(ペン/スタイラスなど)軸と Y 軸の両方を含む平面との間の平面角度(度単位、`-90` から `90` の範囲)。 -- {{ domxref('PointerEvent.tiltY')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.tiltY')}} {{ReadOnlyInline}} - : X-Z 平面と、ポインター(ペン/スタイラスなど)軸と X 軸の両方を含む平面との間の平面角度(度単位、`-90` から `90` の範囲)。 -- {{ domxref('PointerEvent.twist')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.twist')}} {{ReadOnlyInline}} - : ポインター(ペン/スタイラスなど)の長軸を中心とした時計回りの回転の度数(`0` から `359` の範囲の値)。 -- {{ domxref('PointerEvent.pointerType')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.pointerType')}} {{ReadOnlyInline}} - : イベントの原因となった機器の種類(マウス、ペン、タッチなど)を示します。 -- {{ domxref('PointerEvent.isPrimary')}} {{ReadOnlyInline}} +- {{domxref('PointerEvent.isPrimary')}} {{ReadOnlyInline}} - : ポインターがこのポインターの種類の主ポインターを表しているかどうかを示します。 ## メソッド -- {{DOMxRef('PointerEvent.getCoalescedEvents()')}} +- {{DOMxRef('PointerEvent.getCoalescedEvents()')}} {{SecureContext_Inline}} - : 配信された {{domxref("Element/pointermove_event", "pointermove")}} イベントに結合されたすべての `PointerEvent` インスタンスの列を返します。 - {{DOMxRef('PointerEvent.getPredictedEvents()')}} - : 配信された {{domxref("Element/pointermove_event", "pointermove")}} イベントの結合イベントの後に続くとブラウザーが予測した `PointerEvent` インスタンスの列を返します。 ## ポインターイベントの種類 -`PointerEvent` インターフェイスには、複数の種類のイベントがあります。 どのイベントが発生したかを判断するには、イベントの {{ domxref("Event.type", "type") }} プロパティを調べてください。 +`PointerEvent` インターフェイスには、複数の種類のイベントがあります。 どのイベントが発生したかを判断するには、イベントの {{domxref("Event.type", "type")}} プロパティを調べてください。 > [!NOTE] -> 多くの場合、ポインターとマウスの両方のイベントが送信されることに注意することが重要です(ポインター固有でないコードでもユーザーと対話できるようにするため)。 ポインターイベントを使用する場合は、{{ domxref("event.preventDefault()") }} を呼び出してマウスイベントが共に送信されないようにする必要があります。 +> 多くの場合、ポインターとマウスの両方のイベントが送信されることに注意することが重要です(ポインター固有でないコードでもユーザーと対話できるようにするため)。ポインターイベントを使用する場合は、{{domxref("Event.preventDefault()")}} を呼び出してマウスイベントが共に送信されないようにする必要があります。 - {{domxref('Element/pointerover_event', 'pointerover')}} - : このイベントは、ポインティングデバイスが要素のヒットテスト境界内に移動したときに発生します。 @@ -67,11 +73,11 @@ _このインターフェイスは、{{domxref("MouseEvent")}} および {{domxr - : このイベントは、ポインターが*アクティブ*になると発生します。 マウスの場合、ボタンが押されていない状態から少なくとも 1 つのボタンが押された状態に移行したときに発生します。タッチの場合、物理的な接触がデジタイザーとなされたときに発生します。 ペンの場合、スタイラスがデジタイザーと物理的に接触したときに発生します。 - > **メモ:** [直接操作](https://w3c.github.io/pointerevents/#dfn-direct-manipulation)を受け付けるタッチ画面のブラウザーでは、 `pointerdown` イベントにより[暗黙的なポインターキャプチャ](https://w3c.github.io/pointerevents/#dfn-implicit-pointer-capture)が行われ、以降のすべてのポインターイベントが、キャプチャターゲット上で発生したかのようにターゲットに捕捉されます。そのため `pointerover`、`pointerenter`、`pointerleave`、`pointerout` はキャプチャが設定されている間は**発生しません**。キャプチャはターゲット要素上で {{ domxref('element.releasePointerCapture') }} を呼び出すことで手動で解除することができ、また `pointerup` または `pointercancel` イベントの後で暗黙的に解放されます。 + > **メモ:** [直接操作](https://w3c.github.io/pointerevents/#dfn-direct-manipulation)を受け付けるタッチ画面のブラウザーでは、 `pointerdown` イベントにより[暗黙的なポインターキャプチャ](https://w3c.github.io/pointerevents/#dfn-implicit-pointer-capture)が行われ、以降のすべてのポインターイベントが、キャプチャターゲット上で発生したかのようにターゲットに捕捉されます。そのため `pointerover`、`pointerenter`、`pointerleave`、`pointerout` はキャプチャが設定されている間は**発生しません**。キャプチャはターゲット要素上で {{domxref('element.releasePointerCapture') }} を呼び出すことで手動で解除することができ、また `pointerup` または `pointercancel` イベントの後で暗黙的に解放されます。 - {{domxref('Element/pointermove_event', 'pointermove')}} - : このイベントは、ポインターが座標を変更したときに発生します。 -- {{domxref('HTMLElement/pointerrawupdate_event', 'pointerrawupdate')}} {{Experimental_Inline}} +- {{domxref('Element/pointerrawupdate_event', 'pointerrawupdate')}} {{experimental_inline}} - : このイベントは、ポインターのいずれかのプロパティが変更されたときに発生します。 - {{domxref('Element/pointerup_event', 'pointerup')}} - : このイベントは、ポインターが*アクティブ*でなくなったときに発生します。 @@ -100,6 +106,6 @@ _このインターフェイスは、{{domxref("MouseEvent")}} および {{domxr ## 関連情報 -- {{ domxref("Touch_events","タッチイベント", "", 1) }} -- {{ domxref("GestureEvent") }} +- [タッチイベント](/ja/docs/Web/API/Touch_events) +- {{domxref("GestureEvent")}} - {{cssxref("touch-action")}} diff --git a/files/ja/web/api/pointerevent/isprimary/index.md b/files/ja/web/api/pointerevent/isprimary/index.md index 8752eb049395e2..142389502bca35 100644 --- a/files/ja/web/api/pointerevent/isprimary/index.md +++ b/files/ja/web/api/pointerevent/isprimary/index.md @@ -1,8 +1,9 @@ --- -title: PointerEvent.isPrimary +title: "PointerEvent: isPrimary プロパティ" +short-title: isPrimary slug: Web/API/PointerEvent/isPrimary l10n: - sourceCommit: c244d3b2cb6c17e6ba8692e3faec393afd9988ca + sourceCommit: c29cee3dcb0d0e66093dd0c18aa82e0eab9d6d14 --- {{ APIRef("Pointer Events") }} @@ -13,7 +14,7 @@ l10n: ポインターがマウスを表している場合、そのポインターが主と見なされます。 ペン入力を表すポインターは、その {{domxref("Element/pointerdown_event", "pointerdown")}} イベントが、ペン入力を表す他のアクティブなポインターがないときに送出された場合、主ペン入力と見なされます。タッチ入力を表すポインターは、その {{domxref("Element/pointerdown_event", "pointerdown")}} イベントが、タッチ入力を表す他のアクティブなポインターが存在しないときに送出された場合、主タッチ入力と見なされます。 -2 種類以上のポインター機器が同時に使用されている場合、複数のポインター({{domxref("PointerEvent.pointerType", "pointerType")}} ごとに 1 つ)が主と見なされます。 例えば、タッチ接触とマウスカーソルが同時に動かされると、両方とも主と見なされるポインターが生成されます。 複数の主ポインターがある場合、これらのポインターはすべて*互換マウスイベント*を生成します(ポインター、マウス、およびタッチの相互作用の詳細については、{{domxref("Pointer_events", "ポインターイベント", "", 1)}} を参照)。 +2 種類以上のポインター機器が同時に使用されている場合、複数のポインター({{domxref("PointerEvent.pointerType", "pointerType")}} ごとに 1 つ)が主と見なされます。 例えば、タッチ接触とマウスカーソルが同時に動かされると、両方とも主と見なされるポインターが生成されます。 複数の主ポインターがある場合、これらのポインターはすべて*互換マウスイベント*を生成します(ポインター、マウス、およびタッチの相互作用の詳細については、[ポインターイベント](/ja/docs/Web/API/Pointer_events)を参照)。 ## 値 diff --git a/files/ja/web/api/pointerevent/pointerevent/index.md b/files/ja/web/api/pointerevent/pointerevent/index.md index ff6b0d6cb38a2b..34959b4bed745f 100644 --- a/files/ja/web/api/pointerevent/pointerevent/index.md +++ b/files/ja/web/api/pointerevent/pointerevent/index.md @@ -1,8 +1,9 @@ --- -title: PointerEvent() +title: "PointerEvent: PointerEvent() コンストラクター" +short-title: PointerEvent() slug: Web/API/PointerEvent/PointerEvent l10n: - sourceCommit: 2b8f5d9a29f00aea5d2edfa78d1fb90c51752858 + sourceCommit: c58e8c1dd6ecbcb63894c7dd17fb9495b9511b4e --- {{APIRef("Pointer Events")}} diff --git a/files/ja/web/html/attributes/disabled/index.md b/files/ja/web/html/attributes/disabled/index.md index dd5dd921d31bb4..7a5822239e5fb5 100644 --- a/files/ja/web/html/attributes/disabled/index.md +++ b/files/ja/web/html/attributes/disabled/index.md @@ -47,7 +47,7 @@ Firefox は他のブラウザーとは異なり、ページを再読み込みし ## 例 -フォームコントロールが無効になったとき、多くのブラウザーは既定で、より薄いグレーアウトした色で表示します。ここでは、無効になったチェックボックス、ラジオボタン、 {{ HTMLElement("option") }} と {{ HTMLElement("optgroup") }} の例と、祖先の {{HTMLElement("fieldset")}} 要素に設定された disabled 属性によって無効にされているいくつかのフォーム制御の例を示します。 {{ HTMLElement("option") }} は無効になっていますが、 {{ HTMLElement("select") }} 自体は無効になっていません。 {{ HTMLElement("select") }} 是t内を無効にするには、子孫ではなく、その要素にこの属性を追加します。 +フォームコントロールが無効になったとき、多くのブラウザーは既定で、より薄いグレーアウトした色で表示します。ここでは、無効になったチェックボックス、ラジオボタン、 {{ HTMLElement("option") }} と {{ HTMLElement("optgroup") }} の例と、祖先の {{HTMLElement("fieldset")}} 要素に設定された disabled 属性によって無効にされているいくつかのフォーム制御の例を示します。 {{ HTMLElement("option") }} は無効になっていますが、 {{ HTMLElement("select") }} 自体は無効になっていません。 {{ HTMLElement("select") }} 自体を無効にするには、子孫ではなく、その要素にこの属性を追加します。 ```html-nolint
diff --git a/files/ru/_redirects.txt b/files/ru/_redirects.txt index e61691e3132aa8..3d7f7e146b5eac 100644 --- a/files/ru/_redirects.txt +++ b/files/ru/_redirects.txt @@ -613,7 +613,6 @@ /ru/docs/Web/Events/focusin /ru/docs/Web/API/Element/focusin_event /ru/docs/Web/Events/focusout /ru/docs/Web/API/Element/focusout_event /ru/docs/Web/Events/gamepadconnected /ru/docs/Web/API/Window/gamepadconnected_event -/ru/docs/Web/Events/gamepaddisconnected /ru/docs/Web/API/Window/gamepaddisconnected_event /ru/docs/Web/Events/hashchange /ru/docs/Web/API/Window/hashchange_event /ru/docs/Web/Events/invalid /ru/docs/Web/API/HTMLInputElement/invalid_event /ru/docs/Web/Events/keypress /ru/docs/Web/API/Element/keypress_event diff --git a/files/ru/learn/css/css_layout/flexbox/index.md b/files/ru/learn/css/css_layout/flexbox/index.md index f68d766c12ddb6..86cd9de82a8a37 100644 --- a/files/ru/learn/css/css_layout/flexbox/index.md +++ b/files/ru/learn/css/css_layout/flexbox/index.md @@ -7,9 +7,9 @@ slug: Learn/CSS/CSS_layout/Flexbox Это новая технология, которая уже имеет достаточно широкую поддержку браузеров. Flexbox предоставляет инструменты для быстрого создания сложных, гибких макетов, и функции, которые были сложны в традиционных методах CSS. В этой статье объясняются все основы данной технологии. -| Необходимые навыки: | HTML основы (изучите [Введение в HTML](/ru/docs/Learn/HTML/Введение_в_HTML)), знание того, как работает CSS (изучите [Вступление в CSS](/ru/docs/Learn/CSS/Introduction_to_CSS)). | -| ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -| Цель: | Узнать, как использовать систему адаптируемых блоков Flexbox для создания веб-макетов. | +| Необходимые навыки: | HTML основы (изучите [Введение в HTML](/ru/docs/Learn/HTML/Introduction_to_HTML)), знание того, как работает CSS (изучите [Вступление в CSS](/ru/docs/Learn/CSS/First_steps)). | +| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| Цель: | Узнать, как использовать систему адаптируемых блоков Flexbox для создания веб-макетов. | ## Почему Flexbox? @@ -25,7 +25,7 @@ slug: Learn/CSS/CSS_layout/Flexbox ## Разберём простой пример -В этой статье вы проработаете серию упражнений, которые помогут понять, как работает flexbox. Чтобы начать, скачайте на компьютер стартовый файл — [flexbox0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox0.html) с нашего Github репозитория — загрузите его в современном браузере (Firefox или Chrome), а также в любимом редакторе кода. Также вы можете [посмотреть его вживую](http://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox0.html). +В этой статье вы проработаете серию упражнений, которые помогут понять, как работает flexbox. Чтобы начать, скачайте на компьютер стартовый файл — [flexbox0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox0.html) с нашего Github репозитория — загрузите его в современном браузере (Firefox или Chrome), а также в любимом редакторе кода. Также вы можете [посмотреть его вживую](https://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox0.html). Вы увидите элемент {{htmlelement("header")}} с заголовком верхнего уровня внутри, и элемент {{htmlelement("section")}} содержащий три элемента {{htmlelement("article")}}. Мы будем использовать их для создания стандартного трёхколоночного макета. @@ -79,7 +79,7 @@ flex-direction: column; ## Перенос строк -Проблема может быть в том, что, если у вас фиксированная ширина или высота макета, ваши flexbox элементы переполнят контейнер и нарушат макет. Посмотрите на этот пример: [flexbox-wrap0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox-wrap0.html) и [посмотрите его вживую](http://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox-wrap0.html) (сохраните его себе на компьютер, если хотите изучить этот пример): +Проблема может быть в том, что, если у вас фиксированная ширина или высота макета, ваши flexbox элементы переполнят контейнер и нарушат макет. Посмотрите на этот пример: [flexbox-wrap0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox-wrap0.html) и [посмотрите его вживую](https://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox-wrap0.html) (сохраните его себе на компьютер, если хотите изучить этот пример): ![](flexbox-example3.png) @@ -89,7 +89,7 @@ flex-direction: column; flex-wrap: wrap; ``` -Также добавьте следующее свойство в CSS-правило для {{htmlelement("arcticle")}}: +Также добавьте следующее свойство в CSS-правило для {{htmlelement("article")}}: ```css flex: 200px; @@ -120,7 +120,7 @@ flex-flow: row wrap; ## Гибкое изменение размеров flex элементов -Теперь давайте вернёмся к нашему первому примеру и посмотрим, как мы можем контролировать, в каких пропорциях flex элементы будут занимать место. Включите свою копию файла [flexbox0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox0.html), или скачайте [flexbox1.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox1.html) ([просмотр](http://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox1.html)). +Теперь давайте вернёмся к нашему первому примеру и посмотрим, как мы можем контролировать, в каких пропорциях flex элементы будут занимать место. Включите свою копию файла [flexbox0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox0.html), или скачайте [flexbox1.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flexbox1.html) ([просмотр](https://mdn.github.io/learning-area/css/css-layout/flexbox/flexbox1.html)). Прежде всего, добавим следующее правило в конец вашего CSS кода: @@ -172,7 +172,7 @@ article:nth-of-type(3) { ## Горизонтальное и вертикальное выравнивание -Flexbox также имеет функции для выравнивания flex элементов вдоль основной (main) или поперечной (cross) осей. Рассмотрим их на новом примере — [flex-align0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flex-align0.html) ([просмотр](http://mdn.github.io/learning-area/css/css-layout/flexbox/flex-align0.html)) — который мы превратим в аккуратную, гибкую кнопочную панель инструментов. На данный момент вы видите горизонтальную панель меню, кнопки которой застряли в верхнем левом углу. +Flexbox также имеет функции для выравнивания flex элементов вдоль основной (main) или поперечной (cross) осей. Рассмотрим их на новом примере — [flex-align0.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/flex-align0.html) ([просмотр](https://mdn.github.io/learning-area/css/css-layout/flexbox/flex-align0.html)) — который мы превратим в аккуратную, гибкую кнопочную панель инструментов. На данный момент вы видите горизонтальную панель меню, кнопки которой застряли в верхнем левом углу. ![](flexbox-example5.png) @@ -245,7 +245,7 @@ button:last-child { ## Вложенные flex блоки -Можно создать несколько довольно сложных макетов с помощью flexbox. Совершенно нормально сделать flex элемент flex контейнером, чтобы его потомки также были flex блоками. Посмотрите на [complex-flexbox.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/complex-flexbox.html) ([см. вживую](http://mdn.github.io/learning-area/css/css-layout/flexbox/complex-flexbox.html)). +Можно создать несколько довольно сложных макетов с помощью flexbox. Совершенно нормально сделать flex элемент flex контейнером, чтобы его потомки также были flex блоками. Посмотрите на [complex-flexbox.html](https://github.com/mdn/learning-area/blob/master/css/css-layout/flexbox/complex-flexbox.html) ([см. вживую](https://mdn.github.io/learning-area/css/css-layout/flexbox/complex-flexbox.html)). ![](flexbox-example7.png) diff --git a/files/ru/mozilla/firefox/releases/32/index.md b/files/ru/mozilla/firefox/releases/32/index.md index dce6d1b3169acd..5fd25f14f7aaea 100644 --- a/files/ru/mozilla/firefox/releases/32/index.md +++ b/files/ru/mozilla/firefox/releases/32/index.md @@ -45,7 +45,7 @@ slug: Mozilla/Firefox/Releases/32 ### Интерфейсы/APIs/DOM -- Реализованы свойство {{domxref("navigator.languages")}} и событие {{event("languagechange")}} ([Firefox bug 889335](https://bugzil.la/889335)). +- Реализованы свойство {{domxref("navigator.languages")}} и событие {{domxref("Window.languagechange_event", "languagechange")}} ([Firefox bug 889335](https://bugzil.la/889335)). - В методы {{domxref("KeyboardEvent.getModifierState")}}() и {{domxref("MouseEvent.getModifierState")}}() добавлена поддержка виртуального модификатора `Accel` ([Firefox bug 1009388](https://bugzil.la/1009388)). - Добавлена экспериментальная реализация свойства {{domxref("KeyboardEvent.code")}}: она отключена в Release сборках ([Firefox bug 865649](https://bugzil.la/865649)). diff --git a/files/ru/web/api/gamepad/index.md b/files/ru/web/api/gamepad/index.md index 3a6fcfbc6d72cc..72d059bc734fa2 100644 --- a/files/ru/web/api/gamepad/index.md +++ b/files/ru/web/api/gamepad/index.md @@ -7,7 +7,7 @@ slug: Web/API/Gamepad Интерфейс **`Gamepad`** [Gamepad API](/ru/docs/Web/API/Gamepad_API) определяет отдельный геймпад или контроллер, предоставляющий доступ к такой информации, как: нажатие кнопок, позиции осей, и id. -Объект `Gamepad` может быть возвращён в одном из двух случаев: как свойство `gamepad` событий {{event("gamepadconnected")}} и {{event("gamepaddisconnected")}}, или считыванием любой позиции в массиве, возвращённом методом {{domxref("Navigator.getGamepads()")}}. +Объект `Gamepad` может быть возвращён в одном из двух случаев: как свойство `gamepad` событий {{event("gamepadconnected")}} и {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}, или считыванием любой позиции в массиве, возвращённом методом {{domxref("Navigator.getGamepads()")}}. ## Свойства diff --git a/files/ru/web/api/gamepad_api/index.md b/files/ru/web/api/gamepad_api/index.md index 766f4cd5960a1f..a6829911a0c84e 100644 --- a/files/ru/web/api/gamepad_api/index.md +++ b/files/ru/web/api/gamepad_api/index.md @@ -37,9 +37,7 @@ API Gamepad - это простой и последовательный спос - {{domxref("Window.ongamepadconnected")}} - : Представляет собой обработчик событий, который будет выполняться при подключении геймпада (когда срабатывает событие {{event('gamepadconnected')}}). - {{domxref("Window.ongamepaddisconnected")}} - - : Представляет собой обработчик событий, который будет выполняться при отключении геймпада (когда срабатывает событие {{event('gamepaddisconnected')}}). - - + - : Представляет собой обработчик событий, который будет выполняться при отключении геймпада (когда срабатывает событие {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}). ## Учебные пособия и руководства diff --git a/files/ru/web/api/gamepad_api/using_the_gamepad_api/index.md b/files/ru/web/api/gamepad_api/using_the_gamepad_api/index.md index af0e1db811abd1..775e47dd84e894 100644 --- a/files/ru/web/api/gamepad_api/using_the_gamepad_api/index.md +++ b/files/ru/web/api/gamepad_api/using_the_gamepad_api/index.md @@ -34,7 +34,7 @@ window.addEventListener("gamepadconnected", function (e) { ## Отключение геймпада -When a gamepad is disconnected, and if a page has previously received data for that gamepad (e.g. {{ domxref("Window/gamepadconnected_event", "gamepadconnected") }}), a second event is dispatched to the focused window, {{ event("gamepaddisconnected") }}: +When a gamepad is disconnected, and if a page has previously received data for that gamepad (e.g. {{domxref("Window/gamepadconnected_event", "gamepadconnected")}}), a second event is dispatched to the focused window, {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}: ```js window.addEventListener("gamepaddisconnected", function (e) { @@ -46,7 +46,7 @@ window.addEventListener("gamepaddisconnected", function (e) { }); ``` -The gamepad's {{domxref("Gamepad.index", "index")}} property will be unique per-device connected to the system, even if multiple controllers of the same type are used. The `index` property also functions as the index into the {{jsxref("Array")}} returned by {{ domxref("Navigator.getGamepads()") }}. +The gamepad's {{domxref("Gamepad.index", "index")}} property will be unique per-device connected to the system, even if multiple controllers of the same type are used. The `index` property also functions as the index into the {{jsxref("Array")}} returned by {{domxref("Navigator.getGamepads()")}}. ```js var gamepads = {}; diff --git a/files/ru/web/api/gamepadevent/gamepad/index.md b/files/ru/web/api/gamepadevent/gamepad/index.md index 0050fc7f3ceb7a..1f2ea4a6f15402 100644 --- a/files/ru/web/api/gamepadevent/gamepad/index.md +++ b/files/ru/web/api/gamepadevent/gamepad/index.md @@ -5,7 +5,7 @@ slug: Web/API/GamepadEvent/gamepad {{APIRef("Gamepad API")}} -Свойство **`GamepadEvent.gamepad`**, интерфейса **{{domxref("GamepadEvent")}},** возвращает объект {{domxref("Gamepad")}}, предоставляющий доступ к данным геймпада для событий [`gamepadconnected`](/ru/docs/Web/Events/gamepadconnected) и [`gamepaddisconnected`](/ru/docs/Web/Events/gamepaddisconnected). +Свойство **`GamepadEvent.gamepad`**, интерфейса **{{domxref("GamepadEvent")}},** возвращает объект {{domxref("Gamepad")}}, предоставляющий доступ к данным геймпада для событий [`gamepadconnected`](/ru/docs/Web/Events/gamepadconnected) и {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}. > [!NOTE] > Эти события не возникают Chrome, только в Firefox. В Chrome вы должны использовать {{domxref("Navigator.getGamepads")}} для доступа к объекту {{domxref("Gamepad")}}. diff --git a/files/ru/web/api/gamepadevent/index.md b/files/ru/web/api/gamepadevent/index.md index 3e0c7701b4c891..98df25bbd11cf4 100644 --- a/files/ru/web/api/gamepadevent/index.md +++ b/files/ru/web/api/gamepadevent/index.md @@ -5,7 +5,7 @@ slug: Web/API/GamepadEvent {{APIRef("Gamepad API")}} -`GamepadEvent` интерфейс {{ domxref("Gamepad API")}} содержит ссылки на геймпады, подключённые к системе, передающиеся при возникновении событий [Window.gamepadconnected](/ru/docs/Web/Events/gamepadconnected) и [Window.gamepaddisconnected](/ru/docs/Web/Events/gamepaddisconnected). +`GamepadEvent` интерфейс {{ domxref("Gamepad API")}} содержит ссылки на геймпады, подключённые к системе, передающиеся при возникновении событий [Window.gamepadconnected](/ru/docs/Web/Events/gamepadconnected) и {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}. ## Свойства @@ -28,7 +28,7 @@ window.addEventListener("gamepadconnected", function (e) { }); ``` -И события [Window.gamepaddisconnected](/ru/docs/Web/Events/gamepaddisconnected). +И события {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}}. ```js window.addEventListener("gamepaddisconnected", function (e) { diff --git a/files/ru/web/api/htmlbodyelement/index.md b/files/ru/web/api/htmlbodyelement/index.md index e060e69303b91c..739fe0b3686806 100644 --- a/files/ru/web/api/htmlbodyelement/index.md +++ b/files/ru/web/api/htmlbodyelement/index.md @@ -41,7 +41,7 @@ _Не имеет специфичных обработчиков событий; - {{domxref("WindowEventHandlers.onhashchange")}} - : Это {{event("Event_handlers", "event handler")}} представляющее собой код который будет вызван когда событие {{event("hashchange")}} вызвано. - {{domxref("WindowEventHandlers.onlanguagechange")}} {{experimental_inline}} - - : Это {{event("Event_handlers", "event handler")}} представляющее собой код который будет вызван когда событие {{event("languagechange")}} вызвано. + - : Это {{event("Event_handlers", "event handler")}} представляющее собой код, который будет вызван при появлении события {{domxref("Window.languagechange_event", "languagechange")}}. - {{domxref("WindowEventHandlers.onmessage")}} - : Это {{event("Event_handlers", "event handler")}} представляющее собой код который будет вызван когда событие {{event("message")}} вызвано. - {{domxref("WindowEventHandlers.onoffline")}} diff --git a/files/ru/web/api/window/gamepadconnected_event/index.md b/files/ru/web/api/window/gamepadconnected_event/index.md index 8b4e189dc3978d..e61d8fc59e33a6 100644 --- a/files/ru/web/api/window/gamepadconnected_event/index.md +++ b/files/ru/web/api/window/gamepadconnected_event/index.md @@ -1,51 +1,47 @@ --- -title: gamepadconnected +title: "Window: событие gamepadconnected" slug: Web/API/Window/gamepadconnected_event +l10n: + sourceCommit: 33cada2d06f8d0cd009d9d5348de6e3165bba67f --- {{APIRef}} -Событие `gamepadconnected` вызывается, когда браузер обнаруживает подключение геймпада или первое использование кнопки/стика. +Событие `gamepadconnected` возникает, когда браузер обнаруживает подключение геймпада или первое использование кнопки/стика. -## Основная информация +Событие не возникает, если оно запрещено заголовком {{httpheader("Permissions-Policy/gamepad", "gamepad")}} [Политики разрешений](/ru/docs/Web/HTTP/Permissions_Policy) документа. -- Спецификация - - : [Gamepad](http://www.w3.org/TR/gamepad/#the-gamepadconnected-event) -- Интерфейс - - : Event -- Всплывающее - - : Нет -- Отменяемое - - : Нет -- Цель - - : DefaultView (``) -- Действие по умолчанию - - : Отсутствует +Это событие не является отменяемым и не всплывает. -## Свойства +## Примеры -| Свойство | Тип | Описание | -| ------------------------------- | -------------------------- | --------------------------------------------------------------------------------- | -| `target` {{readonlyInline}} | {{domxref("EventTarget")}} | Цель события (самый верхний элемент DOM дерева). | -| `type` {{readonlyInline}} | {{domxref("DOMString")}} | Тип события. | -| `bubbles` {{readonlyInline}} | {{jsxref("Boolean")}} | Является ли событие всплывающим. | -| `cancelable` {{readonlyInline}} | {{jsxref("Boolean")}} | Является ли событие отменяемым. | -| `gamepad` {{readonlyInline}} | {{domxref("Gamepad")}} | Единственный атрибут, предоставляющий доступ к данным геймпада для этого события. | - -## Пример +Для того, чтобы узнать о подключении геймпада, можно добавить обработчик события, используя {{domxref("EventTarget.addEventListener", "addEventListener()")}}: ```js -// Обратите внимание, что API всё ещё использует вендорные префиксы в браузерах, которые его реализуют -window.addEventListener("gamepadconnected", function (event) { - // Все значения кнопок и стиков доступны через: - event.gamepad; +window.addEventListener("gamepadconnected", (event) => { + // Состояния всех кнопок и стиков можно получить с помощью + const gamepad = event.gamepad; }); ``` -## Связанные события +Также можно использовать свойство `window.ongamepadconnected` для установления обработчика события `gamepadconnected`: + +```js +window.ongamepadconnected = (event) => { + // Состояния всех кнопок и стиков можно получить с помощью + const gamepad = event.gamepad; +}; +``` + +## Спецификации + +{{Specifications}} + +## Совместимость с браузерами -- {{event("gamepaddisconnected")}} +{{Compat}} ## Смотрите также -- [Using Gamepad API](/ru/docs/API/Gamepad/Using_Gamepad_API) +- [gamepaddisconnected](/ru/docs/Web/API/Window/gamepaddisconnected_event) +- [Использование Gamepad API](/ru/docs/Web/API/Gamepad_API/Using_the_Gamepad_API) diff --git a/files/ru/web/api/window/index.md b/files/ru/web/api/window/index.md index 99e3e315e914f7..6b2322d964c318 100644 --- a/files/ru/web/api/window/index.md +++ b/files/ru/web/api/window/index.md @@ -330,7 +330,7 @@ _Этот интерфейс наследует методы от интерфе - {{domxref("GlobalEventHandlers.onkeyup")}} - : Свойство обработчика событий для события {{event("keyup")}} в окне. - {{domxref("WindowEventHandlers.onlanguagechange")}} - - : Свойство обработчика событий для события {{event("languagechange")}} в окне. + - : Свойство обработчика события {{domxref("Window.languagechange_event", "languagechange")}} в окне. - {{domxref("GlobalEventHandlers.onload")}} - : Свойство обработчика событий для загрузки окна. - {{domxref("WindowEventHandlers.onmessage")}} diff --git a/files/ru/web/events/index.md b/files/ru/web/events/index.md index 961f552f16866b..4c42dc2e4e926a 100644 --- a/files/ru/web/events/index.md +++ b/files/ru/web/events/index.md @@ -349,195 +349,195 @@ slug: Web/Events Эти события определены в официальных веб-спецификациях и должны быть общими для всех браузеров. Каждое событие перечисляется вместе с интерфейсом, представляющим объект, отправленный получателям события (так что вы можете найти информацию о том, какие данные предоставляются с каждым событием), а также ссылку на спецификацию или спецификации, которые определяют событие. -| Имя события | Тип события | Спецификация | Происходит когда... | -| ----------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | -| {{Event("abort")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-abort) | The loading of a resource has been aborted. | -| [`abort`]() | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-abort) | Progression has been terminated (not due to an error). | -| [`abort`](/ru/docs/Web/Reference/Events/abort_indexedDB) | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#database-interface) | A transaction has been aborted. | -| {{Event("afterprint")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/webappapis.html#printing) | The associated document has started printing or the print preview has been closed. | -| {{Event("animationcancel")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has aborted. | -| {{Event("animationend")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has completed. | -| {{Event("animationiteration")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) is repeated. | -| {{Event("animationstart")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has started. | -| {{Event("appinstalled")}} | {{DOMxRef("Event")}} | [Web App Manifest](/ru/docs/Web/Manifest) | A web application is successfully installed as a [progressive web app](/en-US/Apps/Progressive). | -| {{Event("audioprocess")}} | {{DOMxRef("AudioProcessingEvent")}} {{Deprecated_Inline}} | [Web Audio API](https://www.w3.org/TR/webaudio/#AudioProcessingEvent) | The input buffer of a {{DOMxRef("ScriptProcessorNode")}} is ready to be processed. | -| {{Event("audioend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The user agent has finished capturing audio for speech recognition. | -| {{Event("audiostart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The user agent has started to capture audio for speech recognition. | -| {{Event("beforeprint")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/webappapis.html#printing) | The associated document is about to be printed or previewed for printing. | -| {{Event("beforeunload")}} | {{DOMxRef("BeforeUnloadEvent")}} | [HTML5](http://www.w3.org/TR/html5/browsers.html#unloading-documents) | The window, the document and its resources are about to be unloaded. | -| {{Event("beginEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element begins. | -| [`blocked`](/ru/docs/Web/Reference/Events/blocked_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | An open connection to a database is blocking a `versionchange` transaction on the same database. | -| {{Event("blur")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-blur) | An element has lost focus (does not bubble). | -| {{Event("boundary")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The spoken utterance reaches a word or sentence boundary | -| {{Event("canplay")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-canplay) | 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. | -| {{Event("canplaythrough")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-canplaythrough) | The user agent can play the media up to its end without having to stop for further buffering of content. | -| {{Event("change")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-change) | The `change` event is fired for {{HTMLElement("input")}}, {{HTMLElement("select")}}, and {{HTMLElement("textarea")}} elements when a change to the element's value is committed by the user. | -| {{Event("chargingchange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The battery begins or stops charging. | -| {{Event("chargingtimechange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `chargingTime` attribute has been updated. | -| {{Event("click")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-click) | A pointing device button has been pressed and released on an element. | -| [`close`](/ru/docs/Web/Reference/Events/close_websocket) | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been closed. | -| [`complete`](/ru/docs/Web/Reference/Events/complete_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#transaction) | A transaction successfully completed. | -| {{Event("complete")}} | {{DOMxRef("OfflineAudioCompletionEvent")}} {{Deprecated_Inline}} | [Web Audio API](https://www.w3.org/TR/webaudio/#OfflineAudioCompletionEvent-section) | The rendering of an {{DOMxRef("OfflineAudioContext")}} is terminated. | -| {{Event("compositionend")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionend) | The composition of a passage of text has been completed or canceled. | -| {{Event("compositionstart")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionstart) | 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). | -| {{Event("compositionupdate")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionupdate) | A character is added to a passage of text being composed. | -| {{Event("contextmenu")}} | {{DOMxRef("MouseEvent")}} | [HTML5](https://html.spec.whatwg.org/multipage/forms.html#context-menus) | The right button of the mouse is clicked (before the context menu is displayed). | -| {{Event("copy")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#copy-event) | The text selection has been added to the clipboard. | -| {{Event("cut")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#cut-event) | The text selection has been removed from the document and added to the clipboard. | -| {{Event("dblclick")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-dblclick) | A pointing device button is clicked twice on an element. | -| {{Event("devicechange")}} | {{DOMxRef("Event")}} | [Media Capture and Streams](https://w3c.github.io/mediacapture-main/) | A media device such as a camera, microphone, or speaker is connected or removed from the system. | -| {{Event("devicemotion")}} | {{DOMxRef("DeviceMotionEvent")}} {{Experimental_Inline}} | [Device Orientation Events](http://dev.w3.org/geo/api/spec-source-orientation.html) | Fresh data is available from a motion sensor. | -| {{Event("deviceorientation")}} | {{DOMxRef("DeviceOrientationEvent")}} {{Experimental_Inline}} | [Device Orientation Events](http://dev.w3.org/geo/api/spec-source-orientation.html) | Fresh data is available from an orientation sensor. | -| {{Event("dischargingtimechange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `dischargingTime` attribute has been updated. | -| `DOMActivate` {{Deprecated_Inline}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMActivate) | A button, link or state changing element is activated (use {{Event("click")}} instead). | -| [`DOMAttributeNameChanged`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationNameEvent")}} | [DOM L3](http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#event-type-DOMAttributeNameChanged) Removed | The name of an attribute changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMAttrModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMAttrModified) | The value of an attribute has been modified (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMCharacterDataModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMCharacterDataModified) | A text or another [CharacterData](/ru/docs/DOM/CharacterData) has changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| {{Event("DOMContentLoaded")}} | {{DOMxRef("Event")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#the-end) | The document has finished loading (but not its dependent resources). | -| [`DOMElementNameChanged`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationNameEvent")}} | [DOM L3](http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#event-type-DOMElementNameChanged) Removed | The name of an element changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| `DOMFocusIn` {{Deprecated_Inline}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMFocusIn) | An element has received focus (use {{Event("focus")}} or {{Event("focusin")}} instead). | -| `DOMFocusOut` {{Deprecated_Inline}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMFocusOut) | An element has lost focus (use {{Event("blur")}} or {{Event("focusout")}} instead). | -| [`DOMNodeInserted`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeInserted) | A node has been added as a child of another node (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMNodeInsertedIntoDocument`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeInsertedIntoDocument) | A node has been inserted into the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMNodeRemoved`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeRemoved) | A node has been removed from its parent node (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMNodeRemovedFromDocument`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeRemovedFromDocument) | A node has been removed from the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| [`DOMSubtreeModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMSubtreeModified) | A change happened in the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | -| {{Event("drag")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-drag) | An element or text selection is being dragged (every 350ms). | -| {{Event("dragend")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragend) | A drag operation is being ended (by releasing a mouse button or hitting the escape key). | -| {{Event("dragenter")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragenter) | A dragged element or text selection enters a valid drop target. | -| {{Event("dragleave")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragleave) | A dragged element or text selection leaves a valid drop target. | -| {{Event("dragover")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragover) | An element or text selection is being dragged over a valid drop target (every 350ms). | -| {{Event("dragstart")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragstart) | The user starts dragging an element or text selection. | -| {{Event("drop")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-drop) | An element is dropped on a valid drop target. | -| {{Event("durationchange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-durationchange) | The `duration` attribute has been updated. | -| {{Event("emptied")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-emptied) | The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the [`load()`](/ru/docs/XPCOM_Interface_Reference/NsIDOMHTMLMediaElement) method is called to reload it. | -| {{Event("end_(SpeechRecognition)","end")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service has disconnected. | -| {{Event("end_(SpeechSynthesis)","end")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance has finished being spoken. | -| {{Event("ended")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-ended) | Playback has stopped because the end of the media was reached. | -| {{Event("ended_(Web_Audio)", "ended")}} | {{DOMxRef("Event")}} | [Web Audio API](https://www.w3.org/TR/webaudio/) | Playback has stopped because the end of the media was reached. | -| {{Event("endEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element ends. | -| {{Event("error")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-error) | A resource failed to load. | -| {{Event("error")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-error) | Progression has failed. | -| {{Event("error")}} | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been closed with prejudice (some data couldn't be sent for example). | -| {{Event("error")}} | {{DOMxRef("Event")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | An event source connection has been failed. | -| {{Event("error")}} | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | A request caused an error and failed. | -| {{Event("error_(SpeechRecognitionError)","error")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | A speech recognition error occurs. | -| {{Event("error_(SpeechSynthesisError)","error")}} | {{DOMxRef("SpeechSynthesisErrorEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | An error occurs that prevents the utterance from being successfully spoken. | -| {{Event("focus")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focus) | An element has received focus (does not bubble). | -| {{Event("focusin")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focusIn) | An element is about to receive focus (bubbles). | -| {{Event("focusout")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focusout) | An element is about to lose focus (bubbles). | -| {{Event("fullscreenchange")}} | {{DOMxRef("Event")}} | [Full Screen](https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api) | An element was turned to fullscreen mode or back to normal mode. | -| {{Event("fullscreenerror")}} | {{DOMxRef("Event")}} | [Full Screen](https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api) | It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied. | -| {{Event("gamepadconnected")}} | {{DOMxRef("GamepadEvent")}} {{Experimental_Inline}} | [Gamepad](http://www.w3.org/TR/gamepad/#the-gamepadconnected-event) | A gamepad has been connected. | -| {{Event("gamepaddisconnected")}} | {{DOMxRef("GamepadEvent")}} {{Experimental_Inline}} | [Gamepad](http://www.w3.org/TR/gamepad/#the-gamepaddisconnected-event) | A gamepad has been disconnected. | -| {{Event("gotpointercapture")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-gotpointercapture-event) | Element receives pointer capture. | -| {{Event("hashchange")}} | {{DOMxRef("HashChangeEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-hashchange) | The fragment identifier of the URL has changed (the part of the URL after the #). | -| {{Event("lostpointercapture")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-lostpointercapture-event) | Element lost pointer capture. | -| {{Event("input")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/forms.html#common-event-behaviors) | The value of an element changes or the content of an element with the attribute [contenteditable](/ru/docs/DOM/Element.contentEditable) is modified. | -| {{Event("invalid")}} | {{DOMxRef("Event")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#constraint-validation) | A submittable element has been checked and doesn't satisfy its constraints. | -| {{Event("keydown")}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keydown) | A key is pressed down. | -| {{Event("keypress")}} {{Deprecated_Inline}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keypress) | A key is pressed down and that key normally produces a character value (use input instead). | -| {{Event("keyup")}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keyup) | A key is released. | -| {{Event("languagechange")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [HTML 5.1](https://www.w3.org/TR/html51/#dom-navigator-languages) | The user's preferred languages have changed. | -| {{Event("levelchange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `level` attribute has been updated. | -| {{Event("load")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-load) | A resource and its dependent resources have finished loading. | -| [`load`]() | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-load) | Progression has been successful. | -| {{Event("loadeddata")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-loadeddata) | The first frame of the media has finished loading. | -| {{Event("loadedmetadata")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-loadedmetadata) | The metadata has been loaded. | -| {{Event("loadend")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-loadend) | Progress has stopped (after "error", "abort" or "load" have been dispatched). | -| {{Event("loadstart")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-loadstart) | Progress has begun. | -| {{Event("mark")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The spoken utterance reaches a named SSML "mark" tag. | -| [`message`](/ru/docs/Web/Reference/Events/message_websocket) | {{DOMxRef("MessageEvent")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A message is received through a WebSocket. | -| [`message`](/ru/docs/Web/Reference/Events/message_webworker) | {{DOMxRef("MessageEvent")}} | [Web Workers](http://www.w3.org/TR/workers/#communicating-with-a-dedicated-worker) | A message is received from a Web Worker. | -| [`message`](/ru/docs/Web/Reference/Events/message_webmessaging) | {{DOMxRef("MessageEvent")}} | [Web Messaging](http://www.w3.org/TR/webmessaging/) | A message is received from a child (i)frame or a parent window. | -| [`message`](/ru/docs/Web/Reference/Events/message_serversentevents) | {{DOMxRef("MessageEvent")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | A message is received through an event source. | -| {{Event("messageerror")}} | {{DOMxRef("MessageEvent")}} | {{DOMxRef("MessagePort")}}, [Web Workers](/ru/docs/Web/API/Web_Workers_API), [Broadcast Channel](/ru/docs/Web/API/Broadcast_Channel_API), {{DOMxRef("Window")}} | A message error is raised when a message is received by an object. | -| {{Event("message_(ServiceWorker)","message")}} {{Experimental_Inline}} | {{DOMxRef("ServiceWorkerMessageEvent")}} or {{DOMxRef("ExtendableMessageEvent")}}, depending on context. | [Service Workers](/ru/docs/Web/API/Service_Worker_API) | A message is received from a service worker, or a message is received in a service worker from another context. | -| {{Event("mousedown")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mousedown) | A pointing device button (usually a mouse) is pressed on an element. | -| {{Event("mouseenter")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseenter) | A pointing device is moved onto the element that has the listener attached. | -| {{Event("mouseleave")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseleave) | A pointing device is moved off the element that has the listener attached. | -| {{Event("mousemove")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mousemove) | A pointing device is moved over an element. | -| {{Event("mouseout")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseout) | A pointing device is moved off the element that has the listener attached or off one of its children. | -| {{Event("mouseover")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseover) | A pointing device is moved onto the element that has the listener attached or onto one of its children. | -| {{Event("mouseup")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseup) | A pointing device button is released over an element. | -| {{Event("nomatch")}} {{Experimental_Inline}} | {{DOMxRef("SpeechRecognitionEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service returns a final result with no significant recognition. | -| {{Event("notificationclick")}} | {{DOMxRef("NotificationEvent")}} {{Experimental_Inline}} | [Notifications API](https://notifications.spec.whatwg.org/#dom-serviceworkerglobalscope-onnotificationclick) | A system notification spawned by {{DOMxRef("ServiceWorkerRegistration.showNotification()")}} has been clicked. | -| {{Event("offline")}} | {{DOMxRef("Event")}} | [HTML5 offline](http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#event-offline) | The browser has lost access to the network. | -| {{Event("online")}} | {{DOMxRef("Event")}} | [HTML5 offline](http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#event-online) | The browser has gained access to the network (but particular websites might be unreachable). | -| [`open`](/ru/docs/Web/Reference/Events/open_websocket) | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been established. | -| [`open`](/ru/docs/Web/Reference/Events/open_serversentevents) | {{DOMxRef("Event")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | An event source connection has been established. | -| {{Event("orientationchange")}} | {{DOMxRef("Event")}} | [Screen Orientation](http://www.w3.org/TR/screen-orientation/) | The orientation of the device (portrait/landscape) has changed | -| {{Event("pagehide")}} | {{DOMxRef("PageTransitionEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pagehide) | A session history entry is being traversed from. | -| {{Event("pageshow")}} | {{DOMxRef("PageTransitionEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow) | A session history entry is being traversed to. | -| {{Event("paste")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#paste-event) | Data has been transferred from the system clipboard to the document. | -| {{Event("pause")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-pause) | Playback has been paused. | -| {{Event("pause_(SpeechSynthesis)", "pause")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance is paused part way through. | -| {{Event("pointercancel")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointercancel-event) | The pointer is unlikely to produce any more events. | -| {{Event("pointerdown")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerdown-event) | The pointer enters the active buttons state. | -| {{Event("pointerenter")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerenter-event) | Pointing device is moved inside the hit-testing boundary. | -| {{Event("pointerleave")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerleave-event) | Pointing device is moved out of the hit-testing boundary. | -| {{Event("pointerlockchange")}} | {{DOMxRef("Event")}} | [Pointer Lock](http://www.w3.org/TR/pointerlock/#pointerlockchange-and-pointerlockerror-events) | The pointer was locked or released. | -| {{Event("pointerlockerror")}} | {{DOMxRef("Event")}} | [Pointer Lock](http://www.w3.org/TR/pointerlock/#pointerlockchange-and-pointerlockerror-events) | It was impossible to lock the pointer for technical reasons or because the permission was denied. | -| {{Event("pointermove")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointermove-event) | The pointer changed coordinates. | -| {{Event("pointerout")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerout-event) | The pointing device moved out of hit-testing boundary or leaves detectable hover range. | -| {{Event("pointerover")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerover-event) | The pointing device is moved into the hit-testing boundary. | -| {{Event("pointerup")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerup-event) | The pointer leaves the active buttons state. | -| {{Event("play")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-play) | Playback has begun. | -| {{Event("playing")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-playing) | Playback is ready to start after having been paused or delayed due to lack of data. | -| {{Event("popstate")}} | {{DOMxRef("PopStateEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-popstate) | A session history entry is being navigated to (in certain cases). | -| {{Event("progress")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-progress) | In progress. | -| {{Event("push")}} | {{DOMxRef("PushEvent")}} {{Experimental_Inline}} | [Push API](https://w3c.github.io/push-api/) | A [Service Worker](/ru/docs/Web/API/Service_Worker_API) has received a push message. | -| {{Event("pushsubscriptionchange")}} | {{DOMxRef("PushEvent")}} {{Experimental_Inline}} | [Push API](https://w3c.github.io/push-api/) | A [PushSubscription](/ru/docs/Web/API/PushSubscription) has expired. | -| {{Event("ratechange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-ratechange) | The playback rate has changed. | -| {{Event("readystatechange")}} | {{DOMxRef("Event")}} | HTML5 and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-readystatechange) | The readyState attribute of a document has changed. | -| {{Event("repeatEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element is repeated. | -| {{Event("reset")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-0#resetting-a-form) | A form is reset. | -| {{Event("resize")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-resize) | The document view has been resized. | -| {{Event("resourcetimingbufferfull")}} | {{DOMxRef("Performance")}} | [Resource Timing](https://w3c.github.io/resource-timing/#dom-performance-onresourcetimingbufferfull) | The browser's resource timing buffer is full. | -| {{Event("result")}} {{Experimental_Inline}} | {{DOMxRef("SpeechRecognitionEvent")}} {{Experimental_Inline}} | [Web Speech API](https://wicg.github.io/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. | -| {{Event("resume")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} {{Experimental_Inline}} | [Web Speech API](https://wicg.github.io/speech-api/) | A paused utterance is resumed. | -| {{Event("scroll")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-scroll) | The document view or an element has been scrolled. | -| {{Event("seeked")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-seeked) | A _seek_ operation completed. | -| {{Event("seeking")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-seeking) | A _seek_ operation began. | -| {{Event("select")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-select) | Some text is being selected. | -| {{Event("selectstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Selection API](https://w3c.github.io/selection-api/) | A selection just started. | -| {{Event("selectionchange")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Selection API](https://w3c.github.io/selection-api/) | The selection in the document has been changed. | -| {{Event("show")}} | {{DOMxRef("MouseEvent")}} | [HTML5](http://www.w3.org/TR/html5/interactive-elements.html#context-menus) | A contextmenu event was fired on/bubbled to an element that has a [contextmenu](/ru/docs/DOM/element.contextmenu) attribute | -| {{Event("slotchange")}} | {{DOMxRef("Event")}} | [DOM](https://dom.spec.whatwg.org/) | The node contents of a {{DOMxRef("HTMLSlotElement")}} ({{htmlelement("slot")}}) have changed. | -| {{Event("soundend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Any sound — recognisable speech or not — has stopped being detected. | -| {{Event("soundstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Any sound — recognisable speech or not — has been detected. | -| {{Event("speechend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Speech recognised by the speech recognition service has stopped being detected. | -| {{Event("speechstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Sound that is recognised by the speech recognition service as speech has been detected. | -| {{Event("stalled")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-stalled) | The user agent is trying to fetch media data, but data is unexpectedly not forthcoming. | -| {{Event("start_(SpeechRecognition)","start")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current `SpeechRecognition`. | -| {{Event("start_(SpeechSynthesis)","start")}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance has begun to be spoken. | -| {{Event("storage")}} | {{DOMxRef("StorageEvent")}} | [Web Storage](http://www.w3.org/TR/webstorage/#the-storage-event) | A storage area ([localStorage](/ru/docs/DOM/Storage#localStorage) or [sessionStorage](/ru/docs/DOM/Storage#sessionStorage)) has changed. | -| {{Event("submit")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-algorithm) | A form is submitted. | -| [`success`](/ru/docs/Web/Reference/Events/success_indexedDB) | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | A request successfully completed. | -| {{Event("suspend")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-suspend) | Media data loading has been suspended. | -| {{Event("SVGAbort")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | Page loading has been stopped before the [SVG](/ru/docs/SVG) was loaded. | -| {{Event("SVGError")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An error has occurred before the [SVG](/ru/docs/SVG) was loaded. | -| {{Event("SVGLoad")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document has been loaded and parsed. | -| {{Event("SVGResize")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being resized. | -| {{Event("SVGScroll")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being scrolled. | -| {{Event("SVGUnload")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document has been removed from a window or frame. | -| {{Event("SVGZoom")}} | {{DOMxRef("SVGZoomEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being zoomed. | -| {{Event("timeout")}} | {{DOMxRef("ProgressEvent")}} | [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-timeout) | | -| {{Event("timeupdate")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-timeupdate) | The time indicated by the `currentTime` attribute has been updated. | -| {{Event("touchcancel")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/) | A touch point has been disrupted in an implementation-specific manners (too many touch points for example). | -| {{Event("touchend")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchend-event) | A touch point is removed from the touch surface. | -| {{Event("touchmove")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchmove-event) | A touch point is moved along the touch surface. | -| {{Event("touchstart")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchstart---------event) | A touch point is placed on the touch surface. | -| {{Event("transitionend")}} | {{DOMxRef("TransitionEvent")}} {{Experimental_Inline}} | [CSS Transitions](http://www.w3.org/TR/css3-transitions/#transition-events) | A [CSS transition](/ru/docs/CSS/CSS_transitions) has completed. | -| {{Event("unload")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-unload) | The document or a dependent resource is being unloaded. | -| [`upgradeneeded`](/ru/docs/Web/Reference/Events/upgradeneeded_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | An attempt was made to open a database with a version number higher than its current version. A `versionchange` transaction has been created. | -| {{Event("userproximity")}} | {{DOMxRef("UserProximityEvent")}} {{Experimental_Inline}} | [Proximity Sensor](https://w3c.github.io/proximity/) | Fresh data is available from a proximity sensor (indicates whether the nearby object is `near` the device or not). | -| {{Event("voiceschanged")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The list of {{DOMxRef("SpeechSynthesisVoice")}} objects that would be returned by the {{DOMxRef("SpeechSynthesis.getVoices()")}} method has changed (when the {{Event("voiceschanged")}} event fires.) | -| [`versionchange`](/ru/docs/Web/Reference/Events/versionchange_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#database-interface) | A `versionchange` transaction completed. | -| {{Event("visibilitychange")}} | {{DOMxRef("Event")}} | [Page visibility](http://www.w3.org/TR/page-visibility/#sec-visibilitychange-event) | The content of a tab has become visible or has been hidden. | -| {{Event("volumechange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-volumechange) | The volume has changed. | -| {{Event("waiting")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-waiting) | Playback has stopped because of a temporary lack of data. | -| {{Event("wheel")}} | {{DOMxRef("WheelEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-wheel) | A wheel button of a pointing device is rotated in any direction. | +| Имя события | Тип события | Спецификация | Происходит когда... | +| ------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | +| {{Event("abort")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-abort) | The loading of a resource has been aborted. | +| [`abort`]() | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-abort) | Progression has been terminated (not due to an error). | +| [`abort`](/ru/docs/Web/Reference/Events/abort_indexedDB) | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#database-interface) | A transaction has been aborted. | +| {{Event("afterprint")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/webappapis.html#printing) | The associated document has started printing or the print preview has been closed. | +| {{Event("animationcancel")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has aborted. | +| {{Event("animationend")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has completed. | +| {{Event("animationiteration")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) is repeated. | +| {{Event("animationstart")}} | {{DOMxRef("AnimationEvent")}} {{Experimental_Inline}} | [CSS Animations](http://www.w3.org/TR/css3-animations/#animation-events) | A [CSS animation](/ru/docs/CSS/CSS_animations) has started. | +| {{Event("appinstalled")}} | {{DOMxRef("Event")}} | [Web App Manifest](/ru/docs/Web/Manifest) | A web application is successfully installed as a [progressive web app](/en-US/Apps/Progressive). | +| {{Event("audioprocess")}} | {{DOMxRef("AudioProcessingEvent")}} {{Deprecated_Inline}} | [Web Audio API](https://www.w3.org/TR/webaudio/#AudioProcessingEvent) | The input buffer of a {{DOMxRef("ScriptProcessorNode")}} is ready to be processed. | +| {{Event("audioend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The user agent has finished capturing audio for speech recognition. | +| {{Event("audiostart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The user agent has started to capture audio for speech recognition. | +| {{Event("beforeprint")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/webappapis.html#printing) | The associated document is about to be printed or previewed for printing. | +| {{Event("beforeunload")}} | {{DOMxRef("BeforeUnloadEvent")}} | [HTML5](http://www.w3.org/TR/html5/browsers.html#unloading-documents) | The window, the document and its resources are about to be unloaded. | +| {{Event("beginEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element begins. | +| [`blocked`](/ru/docs/Web/Reference/Events/blocked_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | An open connection to a database is blocking a `versionchange` transaction on the same database. | +| {{Event("blur")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-blur) | An element has lost focus (does not bubble). | +| {{Event("boundary")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The spoken utterance reaches a word or sentence boundary | +| {{Event("canplay")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-canplay) | 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. | +| {{Event("canplaythrough")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-canplaythrough) | The user agent can play the media up to its end without having to stop for further buffering of content. | +| {{Event("change")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/common-input-element-attributes.html#event-input-change) | The `change` event is fired for {{HTMLElement("input")}}, {{HTMLElement("select")}}, and {{HTMLElement("textarea")}} elements when a change to the element's value is committed by the user. | +| {{Event("chargingchange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The battery begins or stops charging. | +| {{Event("chargingtimechange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `chargingTime` attribute has been updated. | +| {{Event("click")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-click) | A pointing device button has been pressed and released on an element. | +| [`close`](/ru/docs/Web/Reference/Events/close_websocket) | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been closed. | +| [`complete`](/ru/docs/Web/Reference/Events/complete_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#transaction) | A transaction successfully completed. | +| {{Event("complete")}} | {{DOMxRef("OfflineAudioCompletionEvent")}} {{Deprecated_Inline}} | [Web Audio API](https://www.w3.org/TR/webaudio/#OfflineAudioCompletionEvent-section) | The rendering of an {{DOMxRef("OfflineAudioContext")}} is terminated. | +| {{Event("compositionend")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionend) | The composition of a passage of text has been completed or canceled. | +| {{Event("compositionstart")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionstart) | 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). | +| {{Event("compositionupdate")}} | {{DOMxRef("CompositionEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-compositionupdate) | A character is added to a passage of text being composed. | +| {{Event("contextmenu")}} | {{DOMxRef("MouseEvent")}} | [HTML5](https://html.spec.whatwg.org/multipage/forms.html#context-menus) | The right button of the mouse is clicked (before the context menu is displayed). | +| {{Event("copy")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#copy-event) | The text selection has been added to the clipboard. | +| {{Event("cut")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#cut-event) | The text selection has been removed from the document and added to the clipboard. | +| {{Event("dblclick")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-dblclick) | A pointing device button is clicked twice on an element. | +| {{Event("devicechange")}} | {{DOMxRef("Event")}} | [Media Capture and Streams](https://w3c.github.io/mediacapture-main/) | A media device such as a camera, microphone, or speaker is connected or removed from the system. | +| {{Event("devicemotion")}} | {{DOMxRef("DeviceMotionEvent")}} {{Experimental_Inline}} | [Device Orientation Events](http://dev.w3.org/geo/api/spec-source-orientation.html) | Fresh data is available from a motion sensor. | +| {{Event("deviceorientation")}} | {{DOMxRef("DeviceOrientationEvent")}} {{Experimental_Inline}} | [Device Orientation Events](http://dev.w3.org/geo/api/spec-source-orientation.html) | Fresh data is available from an orientation sensor. | +| {{Event("dischargingtimechange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `dischargingTime` attribute has been updated. | +| `DOMActivate` {{Deprecated_Inline}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMActivate) | A button, link or state changing element is activated (use {{Event("click")}} instead). | +| [`DOMAttributeNameChanged`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationNameEvent")}} | [DOM L3](http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#event-type-DOMAttributeNameChanged) Removed | The name of an attribute changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMAttrModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMAttrModified) | The value of an attribute has been modified (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMCharacterDataModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMCharacterDataModified) | A text or another [CharacterData](/ru/docs/DOM/CharacterData) has changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| {{Event("DOMContentLoaded")}} | {{DOMxRef("Event")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-end.html#the-end) | The document has finished loading (but not its dependent resources). | +| [`DOMElementNameChanged`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationNameEvent")}} | [DOM L3](http://www.w3.org/TR/2011/WD-DOM-Level-3-Events-20110531/#event-type-DOMElementNameChanged) Removed | The name of an element changed (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| `DOMFocusIn` {{Deprecated_Inline}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMFocusIn) | An element has received focus (use {{Event("focus")}} or {{Event("focusin")}} instead). | +| `DOMFocusOut` {{Deprecated_Inline}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMFocusOut) | An element has lost focus (use {{Event("blur")}} or {{Event("focusout")}} instead). | +| [`DOMNodeInserted`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeInserted) | A node has been added as a child of another node (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMNodeInsertedIntoDocument`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeInsertedIntoDocument) | A node has been inserted into the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMNodeRemoved`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeRemoved) | A node has been removed from its parent node (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMNodeRemovedFromDocument`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMNodeRemovedFromDocument) | A node has been removed from the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| [`DOMSubtreeModified`](/ru/docs/DOM/Mutation_events) {{Deprecated_Inline}} | {{DOMxRef("MutationEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-DOMSubtreeModified) | A change happened in the document (use [mutation observers](/ru/docs/DOM/MutationObserver) instead). | +| {{Event("drag")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-drag) | An element or text selection is being dragged (every 350ms). | +| {{Event("dragend")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragend) | A drag operation is being ended (by releasing a mouse button or hitting the escape key). | +| {{Event("dragenter")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragenter) | A dragged element or text selection enters a valid drop target. | +| {{Event("dragleave")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragleave) | A dragged element or text selection leaves a valid drop target. | +| {{Event("dragover")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragover) | An element or text selection is being dragged over a valid drop target (every 350ms). | +| {{Event("dragstart")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-dragstart) | The user starts dragging an element or text selection. | +| {{Event("drop")}} | {{DOMxRef("DragEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#event-drop) | An element is dropped on a valid drop target. | +| {{Event("durationchange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-durationchange) | The `duration` attribute has been updated. | +| {{Event("emptied")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-emptied) | The media has become empty; for example, this event is sent if the media has already been loaded (or partially loaded), and the [`load()`](/ru/docs/XPCOM_Interface_Reference/NsIDOMHTMLMediaElement) method is called to reload it. | +| {{Event("end_(SpeechRecognition)","end")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service has disconnected. | +| {{Event("end_(SpeechSynthesis)","end")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance has finished being spoken. | +| {{Event("ended")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-ended) | Playback has stopped because the end of the media was reached. | +| {{Event("ended_(Web_Audio)", "ended")}} | {{DOMxRef("Event")}} | [Web Audio API](https://www.w3.org/TR/webaudio/) | Playback has stopped because the end of the media was reached. | +| {{Event("endEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element ends. | +| {{Event("error")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-error) | A resource failed to load. | +| {{Event("error")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-error) | Progression has failed. | +| {{Event("error")}} | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been closed with prejudice (some data couldn't be sent for example). | +| {{Event("error")}} | {{DOMxRef("Event")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | An event source connection has been failed. | +| {{Event("error")}} | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | A request caused an error and failed. | +| {{Event("error_(SpeechRecognitionError)","error")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | A speech recognition error occurs. | +| {{Event("error_(SpeechSynthesisError)","error")}} | {{DOMxRef("SpeechSynthesisErrorEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | An error occurs that prevents the utterance from being successfully spoken. | +| {{Event("focus")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focus) | An element has received focus (does not bubble). | +| {{Event("focusin")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focusIn) | An element is about to receive focus (bubbles). | +| {{Event("focusout")}} | {{DOMxRef("FocusEvent")}} {{Experimental_Inline}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-focusout) | An element is about to lose focus (bubbles). | +| {{Event("fullscreenchange")}} | {{DOMxRef("Event")}} | [Full Screen](https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api) | An element was turned to fullscreen mode or back to normal mode. | +| {{Event("fullscreenerror")}} | {{DOMxRef("Event")}} | [Full Screen](https://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#api) | It was impossible to switch to fullscreen mode for technical reasons or because the permission was denied. | +| {{Event("gamepadconnected")}} | {{DOMxRef("GamepadEvent")}} {{Experimental_Inline}} | [Gamepad](http://www.w3.org/TR/gamepad/#the-gamepadconnected-event) | A gamepad has been connected. | +| {{domxref("Window.gamepaddisconnected_event", "gamepaddisconnected")}} | {{DOMxRef("GamepadEvent")}} {{Experimental_Inline}} | [Gamepad](http://www.w3.org/TR/gamepad/#the-gamepaddisconnected-event) | A gamepad has been disconnected. | +| {{Event("gotpointercapture")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-gotpointercapture-event) | Element receives pointer capture. | +| {{Event("hashchange")}} | {{DOMxRef("HashChangeEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-hashchange) | The fragment identifier of the URL has changed (the part of the URL after the #). | +| {{Event("lostpointercapture")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-lostpointercapture-event) | Element lost pointer capture. | +| {{Event("input")}} | {{DOMxRef("Event")}} | [HTML5](http://www.w3.org/TR/html5/forms.html#common-event-behaviors) | The value of an element changes or the content of an element with the attribute [contenteditable](/ru/docs/DOM/Element.contentEditable) is modified. | +| {{Event("invalid")}} | {{DOMxRef("Event")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#constraint-validation) | A submittable element has been checked and doesn't satisfy its constraints. | +| {{Event("keydown")}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keydown) | A key is pressed down. | +| {{Event("keypress")}} {{Deprecated_Inline}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keypress) | A key is pressed down and that key normally produces a character value (use input instead). | +| {{Event("keyup")}} | {{DOMxRef("KeyboardEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-keyup) | A key is released. | +| {{domxref("Window.languagechange_event", "languagechange")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [HTML 5.1](https://www.w3.org/TR/html51/#dom-navigator-languages) | The user's preferred languages have changed. | +| {{Event("levelchange")}} | {{DOMxRef("Event")}} | [Battery status](https://dvcs.w3.org/hg/dap/raw-file/tip/battery/Overview.html) | The `level` attribute has been updated. | +| {{Event("load")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-load) | A resource and its dependent resources have finished loading. | +| [`load`]() | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-load) | Progression has been successful. | +| {{Event("loadeddata")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-loadeddata) | The first frame of the media has finished loading. | +| {{Event("loadedmetadata")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-loadedmetadata) | The metadata has been loaded. | +| {{Event("loadend")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-loadend) | Progress has stopped (after "error", "abort" or "load" have been dispatched). | +| {{Event("loadstart")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-loadstart) | Progress has begun. | +| {{Event("mark")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The spoken utterance reaches a named SSML "mark" tag. | +| [`message`](/ru/docs/Web/Reference/Events/message_websocket) | {{DOMxRef("MessageEvent")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A message is received through a WebSocket. | +| [`message`](/ru/docs/Web/Reference/Events/message_webworker) | {{DOMxRef("MessageEvent")}} | [Web Workers](http://www.w3.org/TR/workers/#communicating-with-a-dedicated-worker) | A message is received from a Web Worker. | +| [`message`](/ru/docs/Web/Reference/Events/message_webmessaging) | {{DOMxRef("MessageEvent")}} | [Web Messaging](http://www.w3.org/TR/webmessaging/) | A message is received from a child (i)frame or a parent window. | +| [`message`](/ru/docs/Web/Reference/Events/message_serversentevents) | {{DOMxRef("MessageEvent")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | A message is received through an event source. | +| {{Event("messageerror")}} | {{DOMxRef("MessageEvent")}} | {{DOMxRef("MessagePort")}}, [Web Workers](/ru/docs/Web/API/Web_Workers_API), [Broadcast Channel](/ru/docs/Web/API/Broadcast_Channel_API), {{DOMxRef("Window")}} | A message error is raised when a message is received by an object. | +| {{Event("message_(ServiceWorker)","message")}} {{Experimental_Inline}} | {{DOMxRef("ServiceWorkerMessageEvent")}} or {{DOMxRef("ExtendableMessageEvent")}}, depending on context. | [Service Workers](/ru/docs/Web/API/Service_Worker_API) | A message is received from a service worker, or a message is received in a service worker from another context. | +| {{Event("mousedown")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mousedown) | A pointing device button (usually a mouse) is pressed on an element. | +| {{Event("mouseenter")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseenter) | A pointing device is moved onto the element that has the listener attached. | +| {{Event("mouseleave")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseleave) | A pointing device is moved off the element that has the listener attached. | +| {{Event("mousemove")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mousemove) | A pointing device is moved over an element. | +| {{Event("mouseout")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseout) | A pointing device is moved off the element that has the listener attached or off one of its children. | +| {{Event("mouseover")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseover) | A pointing device is moved onto the element that has the listener attached or onto one of its children. | +| {{Event("mouseup")}} | {{DOMxRef("MouseEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-mouseup) | A pointing device button is released over an element. | +| {{Event("nomatch")}} {{Experimental_Inline}} | {{DOMxRef("SpeechRecognitionEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service returns a final result with no significant recognition. | +| {{Event("notificationclick")}} | {{DOMxRef("NotificationEvent")}} {{Experimental_Inline}} | [Notifications API](https://notifications.spec.whatwg.org/#dom-serviceworkerglobalscope-onnotificationclick) | A system notification spawned by {{DOMxRef("ServiceWorkerRegistration.showNotification()")}} has been clicked. | +| {{Event("offline")}} | {{DOMxRef("Event")}} | [HTML5 offline](http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#event-offline) | The browser has lost access to the network. | +| {{Event("online")}} | {{DOMxRef("Event")}} | [HTML5 offline](http://www.whatwg.org/specs/web-apps/current-work/multipage/offline.html#event-online) | The browser has gained access to the network (but particular websites might be unreachable). | +| [`open`](/ru/docs/Web/Reference/Events/open_websocket) | {{DOMxRef("Event")}} | [WebSocket](http://www.w3.org/TR/websockets/) | A WebSocket connection has been established. | +| [`open`](/ru/docs/Web/Reference/Events/open_serversentevents) | {{DOMxRef("Event")}} | [Server Sent Events](http://dev.w3.org/html5/eventsource/) | An event source connection has been established. | +| {{Event("orientationchange")}} | {{DOMxRef("Event")}} | [Screen Orientation](http://www.w3.org/TR/screen-orientation/) | The orientation of the device (portrait/landscape) has changed | +| {{Event("pagehide")}} | {{DOMxRef("PageTransitionEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pagehide) | A session history entry is being traversed from. | +| {{Event("pageshow")}} | {{DOMxRef("PageTransitionEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-pageshow) | A session history entry is being traversed to. | +| {{Event("paste")}} | {{DOMxRef("ClipboardEvent")}} {{Experimental_Inline}} | [Clipboard](http://www.w3.org/TR/clipboard-apis/#paste-event) | Data has been transferred from the system clipboard to the document. | +| {{Event("pause")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-pause) | Playback has been paused. | +| {{Event("pause_(SpeechSynthesis)", "pause")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance is paused part way through. | +| {{Event("pointercancel")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointercancel-event) | The pointer is unlikely to produce any more events. | +| {{Event("pointerdown")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerdown-event) | The pointer enters the active buttons state. | +| {{Event("pointerenter")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerenter-event) | Pointing device is moved inside the hit-testing boundary. | +| {{Event("pointerleave")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerleave-event) | Pointing device is moved out of the hit-testing boundary. | +| {{Event("pointerlockchange")}} | {{DOMxRef("Event")}} | [Pointer Lock](http://www.w3.org/TR/pointerlock/#pointerlockchange-and-pointerlockerror-events) | The pointer was locked or released. | +| {{Event("pointerlockerror")}} | {{DOMxRef("Event")}} | [Pointer Lock](http://www.w3.org/TR/pointerlock/#pointerlockchange-and-pointerlockerror-events) | It was impossible to lock the pointer for technical reasons or because the permission was denied. | +| {{Event("pointermove")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointermove-event) | The pointer changed coordinates. | +| {{Event("pointerout")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerout-event) | The pointing device moved out of hit-testing boundary or leaves detectable hover range. | +| {{Event("pointerover")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerover-event) | The pointing device is moved into the hit-testing boundary. | +| {{Event("pointerup")}} | {{DOMxRef("PointerEvent")}} | [Pointer Events](http://www.w3.org/TR/pointerevents/#the-pointerup-event) | The pointer leaves the active buttons state. | +| {{Event("play")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-play) | Playback has begun. | +| {{Event("playing")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-playing) | Playback is ready to start after having been paused or delayed due to lack of data. | +| {{Event("popstate")}} | {{DOMxRef("PopStateEvent")}} | [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/history.html#event-popstate) | A session history entry is being navigated to (in certain cases). | +| {{Event("progress")}} | {{DOMxRef("ProgressEvent")}} | [Progress](http://www.w3.org/TR/progress-events/) and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-progress) | In progress. | +| {{Event("push")}} | {{DOMxRef("PushEvent")}} {{Experimental_Inline}} | [Push API](https://w3c.github.io/push-api/) | A [Service Worker](/ru/docs/Web/API/Service_Worker_API) has received a push message. | +| {{Event("pushsubscriptionchange")}} | {{DOMxRef("PushEvent")}} {{Experimental_Inline}} | [Push API](https://w3c.github.io/push-api/) | A [PushSubscription](/ru/docs/Web/API/PushSubscription) has expired. | +| {{Event("ratechange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-ratechange) | The playback rate has changed. | +| {{Event("readystatechange")}} | {{DOMxRef("Event")}} | HTML5 and [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-readystatechange) | The readyState attribute of a document has changed. | +| {{Event("repeatEvent")}} | {{DOMxRef("TimeEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | A [SMIL](/ru/docs/SVG/SVG_animation_with_SMIL) animation element is repeated. | +| {{Event("reset")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-0#resetting-a-form) | A form is reset. | +| {{Event("resize")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-resize) | The document view has been resized. | +| {{Event("resourcetimingbufferfull")}} | {{DOMxRef("Performance")}} | [Resource Timing](https://w3c.github.io/resource-timing/#dom-performance-onresourcetimingbufferfull) | The browser's resource timing buffer is full. | +| {{Event("result")}} {{Experimental_Inline}} | {{DOMxRef("SpeechRecognitionEvent")}} {{Experimental_Inline}} | [Web Speech API](https://wicg.github.io/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. | +| {{Event("resume")}} {{Experimental_Inline}} | {{DOMxRef("SpeechSynthesisEvent")}} {{Experimental_Inline}} | [Web Speech API](https://wicg.github.io/speech-api/) | A paused utterance is resumed. | +| {{Event("scroll")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-scroll) | The document view or an element has been scrolled. | +| {{Event("seeked")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-seeked) | A _seek_ operation completed. | +| {{Event("seeking")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-seeking) | A _seek_ operation began. | +| {{Event("select")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-select) | Some text is being selected. | +| {{Event("selectstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Selection API](https://w3c.github.io/selection-api/) | A selection just started. | +| {{Event("selectionchange")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Selection API](https://w3c.github.io/selection-api/) | The selection in the document has been changed. | +| {{Event("show")}} | {{DOMxRef("MouseEvent")}} | [HTML5](http://www.w3.org/TR/html5/interactive-elements.html#context-menus) | A contextmenu event was fired on/bubbled to an element that has a [contextmenu](/ru/docs/DOM/element.contextmenu) attribute | +| {{Event("slotchange")}} | {{DOMxRef("Event")}} | [DOM](https://dom.spec.whatwg.org/) | The node contents of a {{DOMxRef("HTMLSlotElement")}} ({{htmlelement("slot")}}) have changed. | +| {{Event("soundend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Any sound — recognisable speech or not — has stopped being detected. | +| {{Event("soundstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Any sound — recognisable speech or not — has been detected. | +| {{Event("speechend")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Speech recognised by the speech recognition service has stopped being detected. | +| {{Event("speechstart")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | Sound that is recognised by the speech recognition service as speech has been detected. | +| {{Event("stalled")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-stalled) | The user agent is trying to fetch media data, but data is unexpectedly not forthcoming. | +| {{Event("start_(SpeechRecognition)","start")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The speech recognition service has begun listening to incoming audio with intent to recognize grammars associated with the current `SpeechRecognition`. | +| {{Event("start_(SpeechSynthesis)","start")}} | {{DOMxRef("SpeechSynthesisEvent")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The utterance has begun to be spoken. | +| {{Event("storage")}} | {{DOMxRef("StorageEvent")}} | [Web Storage](http://www.w3.org/TR/webstorage/#the-storage-event) | A storage area ([localStorage](/ru/docs/DOM/Storage#localStorage) or [sessionStorage](/ru/docs/DOM/Storage#sessionStorage)) has changed. | +| {{Event("submit")}} | {{DOMxRef("Event")}} | [DOM L2](http://www.w3.org/TR/DOM-Level-2-Events/events.html), [HTML5](http://www.whatwg.org/specs/web-apps/current-work/multipage/association-of-controls-and-forms.html#form-submission-algorithm) | A form is submitted. | +| [`success`](/ru/docs/Web/Reference/Events/success_indexedDB) | {{DOMxRef("Event")}} | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | A request successfully completed. | +| {{Event("suspend")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-suspend) | Media data loading has been suspended. | +| {{Event("SVGAbort")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | Page loading has been stopped before the [SVG](/ru/docs/SVG) was loaded. | +| {{Event("SVGError")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An error has occurred before the [SVG](/ru/docs/SVG) was loaded. | +| {{Event("SVGLoad")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document has been loaded and parsed. | +| {{Event("SVGResize")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being resized. | +| {{Event("SVGScroll")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being scrolled. | +| {{Event("SVGUnload")}} | {{DOMxRef("SVGEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document has been removed from a window or frame. | +| {{Event("SVGZoom")}} | {{DOMxRef("SVGZoomEvent")}} | [SVG](http://www.w3.org/TR/SVG/interact.html#SVGEvents) | An [SVG](/ru/docs/SVG) document is being zoomed. | +| {{Event("timeout")}} | {{DOMxRef("ProgressEvent")}} | [XMLHttpRequest](http://www.w3.org/TR/XMLHttpRequest/#event-xhr-timeout) | | +| {{Event("timeupdate")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-timeupdate) | The time indicated by the `currentTime` attribute has been updated. | +| {{Event("touchcancel")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/) | A touch point has been disrupted in an implementation-specific manners (too many touch points for example). | +| {{Event("touchend")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchend-event) | A touch point is removed from the touch surface. | +| {{Event("touchmove")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchmove-event) | A touch point is moved along the touch surface. | +| {{Event("touchstart")}} | {{DOMxRef("TouchEvent")}} | [Touch Events](http://www.w3.org/TR/touch-events/#the-touchstart---------event) | A touch point is placed on the touch surface. | +| {{Event("transitionend")}} | {{DOMxRef("TransitionEvent")}} {{Experimental_Inline}} | [CSS Transitions](http://www.w3.org/TR/css3-transitions/#transition-events) | A [CSS transition](/ru/docs/CSS/CSS_transitions) has completed. | +| {{Event("unload")}} | {{DOMxRef("UIEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-unload) | The document or a dependent resource is being unloaded. | +| [`upgradeneeded`](/ru/docs/Web/Reference/Events/upgradeneeded_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#request-api) | An attempt was made to open a database with a version number higher than its current version. A `versionchange` transaction has been created. | +| {{Event("userproximity")}} | {{DOMxRef("UserProximityEvent")}} {{Experimental_Inline}} | [Proximity Sensor](https://w3c.github.io/proximity/) | Fresh data is available from a proximity sensor (indicates whether the nearby object is `near` the device or not). | +| {{Event("voiceschanged")}} {{Experimental_Inline}} | {{DOMxRef("Event")}} | [Web Speech API](https://wicg.github.io/speech-api/) | The list of {{DOMxRef("SpeechSynthesisVoice")}} objects that would be returned by the {{DOMxRef("SpeechSynthesis.getVoices()")}} method has changed (when the {{Event("voiceschanged")}} event fires.) | +| [`versionchange`](/ru/docs/Web/Reference/Events/versionchange_indexedDB) | | [IndexedDB](http://www.w3.org/TR/IndexedDB/#database-interface) | A `versionchange` transaction completed. | +| {{Event("visibilitychange")}} | {{DOMxRef("Event")}} | [Page visibility](http://www.w3.org/TR/page-visibility/#sec-visibilitychange-event) | The content of a tab has become visible or has been hidden. | +| {{Event("volumechange")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-volumechange) | The volume has changed. | +| {{Event("waiting")}} | {{DOMxRef("Event")}} | [HTML5 media](http://www.whatwg.org/specs/web-apps/current-work/multipage/the-video-element.html#event-media-waiting) | Playback has stopped because of a temporary lack of data. | +| {{Event("wheel")}} | {{DOMxRef("WheelEvent")}} | [DOM L3](http://www.w3.org/TR/DOM-Level-3-Events/#event-type-wheel) | A wheel button of a pointing device is rotated in any direction. | ## Нестандартные события diff --git a/files/ru/web/html/element/abbr/index.md b/files/ru/web/html/element/abbr/index.md index 2466c99cdcdbdc..3e2fb04bd4b188 100644 --- a/files/ru/web/html/element/abbr/index.md +++ b/files/ru/web/html/element/abbr/index.md @@ -14,7 +14,7 @@ slug: Web/HTML/Element/abbr | [Категории контента](/ru/docs/Web/Guide/HTML/Content_categories) | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток), [текстовый контент](/ru/docs/Web/Guide/HTML/Content_categories/#Фразовый_контент), явный контент | | ---------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Допустимое содержимое | [Фразовый контент](/ru/docs/Web/Guide/HTML/Content_categories/#Фразовый_контент) | -| Пропуск тегов | {{no_tag_omission}} | +| Пропуск тегов | Нет, открывающий и закрывающий теги обязательны. | | Допустимые родители | Любые, поддерживающие [фразовый контент](/ru/docs/Web/Guide/HTML/Content_categories/#Фразовый_контент). | | Допустимые ARIA-роли | Любые | | DOM-интерфейс | {{domxref("HTMLElement")}} | diff --git a/files/ru/web/html/element/address/index.md b/files/ru/web/html/element/address/index.md index a02bffed241066..671edba785aa69 100644 --- a/files/ru/web/html/element/address/index.md +++ b/files/ru/web/html/element/address/index.md @@ -10,7 +10,7 @@ slug: Web/HTML/Element/address | [Категории контента](/ru/docs/HTML/Content_categories) | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D0%BE%D0%B9_%D0%BF%D0%BE%D1%82%D0%BE%D0%BA), palpable content. | | ------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | | Разрешённый контент | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#%D0%9E%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D0%BE%D0%B9_%D0%BF%D0%BE%D1%82%D0%BE%D0%BA), но без вложенного элемента \
, без элементов заголовка ({{HTMLElement("hgroup")}}, {{HTMLElement("h1")}}, {{HTMLElement("h2")}}, {{HTMLElement("h3")}}, {{HTMLElement("h4")}}, {{HTMLElement("h5")}}, {{HTMLElement("h6")}}), без секционного контента ({{HTMLElement("article")}}, {{HTMLElement("aside")}}, {{HTMLElement("section")}}, {{HTMLElement("nav")}}) и без {{HTMLElement("header")}} или {{HTMLElement("footer")}} элементов. | -| Опускание тегов | {{no_tag_omission}} | +| Опускание тегов | Нет, открывающий и закрывающий теги обязательны. | | Разрешённые родительские элементы | Любой элемент, который принимает [flow content](/ru/docs/HTML/Content_categories#Flow_content). | | DOM интерфейс | {{domxref("HTMLElement")}} Prior to Gecko 2.0 (Firefox 4), Gecko implemented this element using the {{domxref("HTMLSpanElement")}} interface | diff --git a/files/ru/web/html/element/article/index.md b/files/ru/web/html/element/article/index.md index 6626626272b92a..6825e7c010f6b5 100644 --- a/files/ru/web/html/element/article/index.md +++ b/files/ru/web/html/element/article/index.md @@ -14,7 +14,7 @@ slug: Web/HTML/Element/article | [Категории контента](/ru/docs/Web/Guide/HTML/Content_categories) | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток), [секционный контент](/ru/docs/Web/Guide/HTML/Content_categories#Секционный_контент), [явный контент](/ru/docs/Web/Guide/HTML/Content_categories#Явный_контент). | | ---------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Допустимое содержимое | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток). | -| Пропуск тегов | {{no_tag_omission}} | +| Пропуск тегов | Нет, открывающий и закрывающий теги обязательны. | | Допустимые родители | Любой элемент, который разрешает [контент основного потока](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток) в качестве содержимого. Обратите внимание, что элемент `
` не должен быть потомком элемента {{HTMLElement("address")}}. | | Допустимые ARIA-роли | application, document, feed, main, presentation, region | | DOM-интерфейс | {{domxref("HTMLElement")}} | diff --git a/files/ru/web/html/element/aside/index.md b/files/ru/web/html/element/aside/index.md index 5d4031dcea68a1..481688c5a744ce 100644 --- a/files/ru/web/html/element/aside/index.md +++ b/files/ru/web/html/element/aside/index.md @@ -12,7 +12,7 @@ slug: Web/HTML/Element/aside | [Категории контента](/ru/docs/Web/Guide/HTML/Content_categories) | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток), [секционный контент](/ru/docs/Web/Guide/HTML/Content_categories#Секционный_контент), [явный контент](/ru/docs/Web/Guide/HTML/Content_categories#Явный_контент). | | ---------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | | Допустимое содержимое | [Основной поток](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток). | -| Пропуск тегов | {{no_tag_omission}} | +| Пропуск тегов | Нет, открывающий и закрывающий теги обязательны. | | Допустимые родители | Любой элемент, который разрешает [контент основного потока](/ru/docs/Web/Guide/HTML/Content_categories#Основной_поток) в качестве содержимого. Обратите внимание, что элемент `