aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/orphaned/web/html/global_attributes/dropzone
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/orphaned/web/html/global_attributes/dropzone')
-rw-r--r--files/zh-cn/orphaned/web/html/global_attributes/dropzone/index.html95
1 files changed, 95 insertions, 0 deletions
diff --git a/files/zh-cn/orphaned/web/html/global_attributes/dropzone/index.html b/files/zh-cn/orphaned/web/html/global_attributes/dropzone/index.html
new file mode 100644
index 0000000000..19b88c3d0e
--- /dev/null
+++ b/files/zh-cn/orphaned/web/html/global_attributes/dropzone/index.html
@@ -0,0 +1,95 @@
+---
+title: dropzone
+slug: orphaned/Web/HTML/Global_attributes/dropzone
+translation_of: Web/HTML/Global_attributes/dropzone
+original_slug: Web/HTML/Global_attributes/dropzone
+---
+<p class="note">{{HTMLSidebar("Global_attributes")}}{{SeeCompatTable}}</p>
+
+<p><strong>dropzone</strong> <a href="/en-US/docs/Web/HTML/Global_attributes">全局属性</a> 是个枚举属性,表示什么内容类型可以拖放到元素上,使用 <a href="/En/DragDrop/Drag_and_Drop" style="text-decoration: none; color: rgb(51, 102, 153) !important; cursor: default;" title="https://developer.mozilla.org/En/DragDrop/Drag_and_Drop">Drag and Drop API</a>,它可以拥有以下值:</p>
+
+<ul>
+ <li><span style="font-family: courier new;">copy,</span>它表明拖放行为会创建被拖放元素的副本。</li>
+ <li><span style="font-family: courier new;">move</span>,它表明被拖放元素会移动到新的位置。</li>
+ <li><span style="font-family: courier new;">link</span>,它会创建被拖放数据的链接。 </li>
+</ul>
+
+<h2 id="规范">规范</h2>
+
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <th scope="col">Specification</th>
+ <th scope="col">Status</th>
+ <th scope="col">Comment</th>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML WHATWG', "interaction.html#the-dropzone-attribute", "dropzone")}}</td>
+ <td>{{Spec2('HTML WHATWG')}}</td>
+ <td>与最新的快照{{SpecName('HTML5.1')}} 没有区别</td>
+ </tr>
+ <tr>
+ <td>{{SpecName('HTML5.1', "editing.html#the-dropzone-attribute", "dropzone")}}</td>
+ <td>{{Spec2('HTML5.1')}}</td>
+ <td>{{SpecName('HTML WHATWG')}} 的快照,最初定义</td>
+ </tr>
+ </tbody>
+</table>
+
+<h2 id="浏览器兼容性">浏览器兼容性</h2>
+
+<p>{{ CompatibilityTable() }}</p>
+
+<div id="compat-desktop">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Chrome</th>
+ <th>Firefox (Gecko)</th>
+ <th>Internet Explorer</th>
+ <th>Opera</th>
+ <th>Safari</th>
+ </tr>
+ <tr>
+ <td>基础支持</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatNo }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<div id="compat-mobile">
+<table class="compat-table">
+ <tbody>
+ <tr>
+ <th>Feature</th>
+ <th>Android</th>
+ <th>Chrome for Android</th>
+ <th>Firefox Mobile (Gecko)</th>
+ <th>IE Mobile</th>
+ <th>Opera Mobile</th>
+ <th>Safari Mobile</th>
+ </tr>
+ <tr>
+ <td>基础支持</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown}}</td>
+ <td>{{ CompatNo }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ <td>{{ CompatUnknown() }}</td>
+ </tr>
+ </tbody>
+</table>
+</div>
+
+<h2 id="另见">另见</h2>
+
+<ul>
+ <li>所有 <a href="/en-US/docs/Web/HTML/Global_attributes">全局属性</a></li>
+</ul>