aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/document/drop_event/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/ja/web/api/document/drop_event/index.html')
-rw-r--r--files/ja/web/api/document/drop_event/index.html96
1 files changed, 96 insertions, 0 deletions
diff --git a/files/ja/web/api/document/drop_event/index.html b/files/ja/web/api/document/drop_event/index.html
new file mode 100644
index 0000000000..35bd7e837b
--- /dev/null
+++ b/files/ja/web/api/document/drop_event/index.html
@@ -0,0 +1,96 @@
+---
+title: 'Document: drop イベント'
+slug: Web/API/Document/drop_event
+tags:
+ - DOM
+ - Document
+ - Drag Event
+ - Drop
+ - Event
+ - HTML 5
+ - Reference
+ - drag and drop
+translation_of: Web/API/Document/drop_event
+---
+<div>{{APIRef}}</div>
+
+<p><strong><code>drop</code></strong> イベントは、要素または選択されたテキストが、妥当なドロップターゲットにドロップされたときに発生します。</p>
+
+<table class="properties">
+ <tbody>
+ <tr>
+ <th scope="row">バブリング</th>
+ <td>あり</td>
+ </tr>
+ <tr>
+ <th scope="row">キャンセル可能</th>
+ <td>はい</td>
+ </tr>
+ <tr>
+ <th scope="row">既定のアクション</th>
+ <td>様々</td>
+ </tr>
+ <tr>
+ <th scope="row">インターフェイス</th>
+ <td>{{domxref("DragEvent")}}</td>
+ </tr>
+ <tr>
+ <th scope="row">イベントハンドラープロパティ</th>
+ <td>{{domxref("GlobalEventHandlers/ondrop", "ondrop")}}</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Examples" name="Examples">例</h2>
+
+<p>サンプルコードは {{domxref("Document/drag_event", "drag")}} イベント、またはこの <a class="external external-icon" href="http://jsfiddle.net/zfnj5rv4/" rel="noopener">JSFiddle デモ</a>をご覧ください。</p>
+
+<p>{{EmbedLiveSample('Examples', '300', '200', '', '/Web/API/Document/drag_event')}}</p>
+
+<h2 id="Specifications" name="Specifications">仕様書</h2>
+
+<table class="standard-table">
+ <thead>
+ <tr>
+ <th scope="col">仕様書</th>
+ <th scope="col">状態</th>
+ <th scope="col">備考</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>{{SpecName("HTML WHATWG", "interaction.html#dndevents", "drop event")}}</td>
+ <td>{{Spec2("HTML WHATWG")}}</td>
+ <td></td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="Browser_compatibility" name="Browser_compatibility">ブラウザの対応</h2>
+
+<div class="hidden">このページの互換性一覧表は構造化データから生成されています。データに協力していただけるのであれば、 <a class="external" href="https://github.com/mdn/browser-compat-data">https://github.com/mdn/browser-compat-data</a> をチェックアウトしてプルリクエストを送信してください。</div>
+
+<p>{{Compat("api.Document.drop_event")}}</p>
+
+<h2 id="See_also" name="See_also">関連情報</h2>
+
+<ul>
+ <li>その他のドラッグ&ドロップイベント:
+ <ul>
+ <li>{{domxref("Document/drag_event", "drag")}}</li>
+ <li>{{domxref("Document/dragstart_event", "dragstart")}}</li>
+ <li>{{domxref("Document/dragend_event", "dragend")}}</li>
+ <li>{{domxref("Document/dragover_event", "dragover")}}</li>
+ <li>{{domxref("Document/dragenter_event", "dragenter")}}</li>
+ <li>{{domxref("Document/dragleave_event", "dragleave")}}</li>
+ <li>{{domxref("Document/dragexit_event", "dragexit")}}</li>
+ </ul>
+ </li>
+ <li>他のターゲットにおけるこのイベント:
+ <ul>
+ <li>{{domxref("Window")}}: {{domxref("Window/drop_event", "drop")}} イベント</li>
+ <li>{{domxref("HTMLElement")}}: {{domxref("HTMLElement/drop_event", "drop")}} イベント</li>
+ <li>{{domxref("SVGElement")}}: {{domxref("SVGElement/drop_event", "drop")}} イベント</li>
+ </ul>
+ </li>
+</ul>