diff options
Diffstat (limited to 'files/ja/web/api/document/onselectionchange')
| -rw-r--r-- | files/ja/web/api/document/onselectionchange/index.html | 62 |
1 files changed, 0 insertions, 62 deletions
diff --git a/files/ja/web/api/document/onselectionchange/index.html b/files/ja/web/api/document/onselectionchange/index.html deleted file mode 100644 index 9793bde3fa..0000000000 --- a/files/ja/web/api/document/onselectionchange/index.html +++ /dev/null @@ -1,62 +0,0 @@ ---- -title: Document.onselectionchange -slug: Web/API/Document/onselectionchange -tags: - - API - - Document - - Experimental - - Reference - - イベントハンドラー - - プロパティ -translation_of: Web/API/GlobalEventHandlers/onselectionchange -translation_of_original: Web/API/Document/onselectionchange ---- -<div>{{ApiRef('DOM')}}{{SeeCompatTable}}</div> - -<p><code><strong>Document.onselectionchange</strong></code> プロパティは、 {{event("selectionchange")}} イベントがこのオブジェクトに到達したときに呼び出されるイベントハンドラーを表します。</p> - -<h2 id="Syntax" name="Syntax">構文</h2> - -<pre class="syntaxbox"><var>obj</var>.onselectionchange = <var>function</var>; -</pre> - -<ul> - <li><var>function</var> はユーザー定義の関数の名前を、末尾の <code>()</code> や引数を付けない形、または無名関数の宣言です。</li> -</ul> - -<h2 id="Example" name="Example">例</h2> - -<pre class="brush: html">document.onselectionchange = function() { console.log("Selection changed!"); }; -</pre> - -<h2 id="Specifications" name="Specifications">仕様書</h2> - -<table class="spectable standard-table"> - <thead> - <tr> - <th scope="col">仕様書</th> - <th scope="col">状態</th> - <th scope="col">備考</th> - </tr> - </thead> - <tbody> - <tr> - <td>{{SpecName('Selection API','','Document.onselectionchange')}}</td> - <td>{{Spec2('Selection API')}}</td> - <td>初回定義</td> - </tr> - </tbody> -</table> - -<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザーの対応</h2> - -<p class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</p> - -<p>{{Compat("api.Document.onselectionchange")}}</p> - -<h2 id="See_also" name="See_also">関連情報</h2> - -<ul> - <li>{{event("selectionchange")}}</li> - <li>{{domxref("GlobalEventHandlers.onselectstart")}} および {{event('selectstart')}}</li> -</ul> |
