aboutsummaryrefslogtreecommitdiff
path: root/files/zh-tw/web/api/wheelevent/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-tw/web/api/wheelevent/index.html')
-rw-r--r--files/zh-tw/web/api/wheelevent/index.html100
1 files changed, 1 insertions, 99 deletions
diff --git a/files/zh-tw/web/api/wheelevent/index.html b/files/zh-tw/web/api/wheelevent/index.html
index e7446cc044..63b39552fb 100644
--- a/files/zh-tw/web/api/wheelevent/index.html
+++ b/files/zh-tw/web/api/wheelevent/index.html
@@ -83,105 +83,7 @@ translation_of: Web/API/WheelEvent
<h2 id="瀏覽器相容性">瀏覽器相容性</h2>
-<p>{{CompatibilityTable}}</p>
-
-<div id="compat-desktop">
-<table class="compat-table">
- <tbody>
- <tr>
- <th>功能</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>基本功能</td>
- <td>31</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }}</td>
- <td>18</td>
- <td>7.0</td>
- </tr>
- <tr>
- <td><code>window.WheelEvent</code></td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatVersionUnknown }}</td>
- <td>{{ CompatGeckoDesktop("17.0") }}</td>
- <td>{{ CompatIE("9.0") }}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}} [1]</td>
- </tr>
- <tr>
- <td><code>WheelEvent</code> + <kbd>Ctrl</kbd> 鍵<sup>[2]</sup>實現按住縮放功能</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoDesktop("55.0") }}</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>功能</th>
- <th>Android</th>
- <th>Android Webview</th>
- <th>Edge</th>
- <th>Firefox Mobile (Gecko)</th>
- <th>IE Phone</th>
- <th>Opera Mobile</th>
- <th>Safari Mobile</th>
- <th>Chrome for Android</th>
- </tr>
- <tr>
- <td>基本功能</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>window.WheelEvent</code></td>
- <td>{{CompatNo}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("17.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- <tr>
- <td><code>WheelEvent</code> + <kbd>Ctrl</kbd> 鍵<sup>[2]</sup>實現按住縮放功能</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{ CompatGeckoMobile("55.0") }}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatUnknown}}</td>
- <td>{{CompatVersionUnknown}}</td>
- </tr>
- </tbody>
-</table>
-</div>
-
-<p>[1] 嚴格說,Safari並非真正支援<code>WheelEvent</code>,只不過會返回window.WheelEvent物件。</p>
-
-<p>[2] 這樣在觸控平面上,比如觸控螢幕或是觸控板上,開發者就可根據用戶按住縮放手勢來實現簡單的縮放功能 (滑鼠滾輪 + <kbd>Ctrl</kbd> 習慣上用於縮放)。</p>
+{{Compat("api.WheelEvent")}}
<h2 id="參見">參見</h2>