aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/datatransfer
diff options
context:
space:
mode:
authorYujiSoftware <yuji.software+github@gmail.com>2022-03-02 20:01:54 +0900
committerIrvin <irvinfly@gmail.com>2022-03-04 01:02:45 +0800
commitc46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch)
treefe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/datatransfer
parente671353fc364cef89441d031e0e8b9300b67951b (diff)
downloadtranslated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.gz
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.tar.bz2
translated-content-c46e9da7f68bd682fc9ff1452b7fe63df1227151.zip
Migrate to Compat macro (zh-tw)
Diffstat (limited to 'files/zh-tw/web/api/datatransfer')
-rw-r--r--files/zh-tw/web/api/datatransfer/index.html87
1 files changed, 1 insertions, 86 deletions
diff --git a/files/zh-tw/web/api/datatransfer/index.html b/files/zh-tw/web/api/datatransfer/index.html
index d202c3b876..2ffaf4c593 100644
--- a/files/zh-tw/web/api/datatransfer/index.html
+++ b/files/zh-tw/web/api/datatransfer/index.html
@@ -107,92 +107,7 @@ translation_of: Web/API/DataTransfer
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Chrome</th>
- <th>Edge</th>
- <th>Firefox (Gecko)</th>
- <th>Internet Explorer</th>
- <th>Opera</th>
- <th>Safari (WebKit)</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>3.5 <sup>[2]</sup><br>
- {{CompatGeckoDesktop(52)}}<sup>[3]</sup></td>
- <td>10 <sup>[1]</sup> <sup>[2]</sup></td>
- <td>12</td>
- <td>3.1 <sup>[2]</sup></td>
- </tr>
- <tr>
- <td>{{domxref("DataTransfer.items", "items")}} property</td>
- <td>4</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>50</td>
- <td>{{CompatNo}}</td>
- <td>12</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<div id="compat-mobile">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>Feature</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Chrome for Android</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>Firefox OS</th>
- <th>IE Mobile</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- </tr>
- <tr>
- <td>Basic support</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}<br>
- {{CompatGeckoMobile(52)}}<sup>[3]</sup></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatIE("10")}}[1][2]</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- <tr>
- <td>{{domxref("DataTransfer.items", "items")}} property</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatGeckoMobile(50)}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatNo}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] <a href="http://caniuse.com/#search=drag">Partial support refers to not supporting {{domxref("DataTransfer.setDragImage()")}} [CanIUse.com].</a></p>
-
-<p>[2] Does not support {{domxref("DataTransfer.items")}} property.</p>
-
-<p>[3] As of Firefox 52, the {{domxref("DataTransfer.types")}} property returns a frozen array of {{domxref("DOMString")}}s as per spec, rather than a {{domxref("DOMStringList")}}.</p>
+{{Compat("api.DataTransfer")}}
<h2 id="參見">參見</h2>