diff options
author | YujiSoftware <yuji.software+github@gmail.com> | 2022-03-02 20:01:54 +0900 |
---|---|---|
committer | Irvin <irvinfly@gmail.com> | 2022-03-04 01:02:45 +0800 |
commit | c46e9da7f68bd682fc9ff1452b7fe63df1227151 (patch) | |
tree | fe6c6e20521b16a22ec64755b88a39effd81a4d7 /files/zh-tw/web/api/mouseevent/index.html | |
parent | e671353fc364cef89441d031e0e8b9300b67951b (diff) | |
download | translated-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/mouseevent/index.html')
-rw-r--r-- | files/zh-tw/web/api/mouseevent/index.html | 138 |
1 files changed, 1 insertions, 137 deletions
diff --git a/files/zh-tw/web/api/mouseevent/index.html b/files/zh-tw/web/api/mouseevent/index.html index 43f2a3a26d..dd69b77cfc 100644 --- a/files/zh-tw/web/api/mouseevent/index.html +++ b/files/zh-tw/web/api/mouseevent/index.html @@ -172,143 +172,7 @@ document.getElementById("button").addEventListener('click', simulateClick);</pre <h2 id="Browser_compatibility" name="Browser_compatibility">瀏覽器相容性</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</th> - </tr> - <tr> - <td>Basic support</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.movementX","movementX")}}<br> - {{domxref("MouseEvent.movementY","movementY")}}</td> - <td>{{CompatChrome(37)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}} {{property_prefix("moz")}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>{{ domxref("MouseEvent.buttons", "buttons") }}</td> - <td>{{CompatChrome(43)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{ CompatVersionUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{CompatNo}}</td> - </tr> - <tr> - <td>{{ domxref("MouseEvent.which", "which") }}</td> - <td>{{CompatChrome(1)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>1.0</td> - <td>9.0</td> - <td>5.0</td> - <td>1.0</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.getModifierState()", "getModifierState()")}}</td> - <td>{{CompatChrome(47)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatGeckoDesktop(15)}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{CompatVersionUnknown()}}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.mozPressure", "mozPressure")}} and {{domxref("MouseEvent.mozInputSource", "mozInputSource")}} {{non-standard_inline}}</td> - <td>{{CompatNo}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{CompatGeckoDesktop(2)}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - <td>{{CompatNo}}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.MouseEvent", "MouseEvent()")}}</td> - <td>{{CompatChrome(45)}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{CompatGeckoDesktop(11)}}</td> - <td>9.0</td> - <td>{{CompatVersionUnknown()}}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.region")}}</td> - <td>{{CompatChrome(51)}}<sup>[1]</sup></td> - <td>{{ CompatUnknown() }}</td> - <td>{{CompatGeckoDesktop(32)}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.offsetX")}}, and {{domxref("MouseEvent.offsetY")}}</td> - <td>{{CompatVersionUnknown()}}</td> - <td>9</td> - <td>{{CompatGeckoDesktop(40)}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - <tr> - <td>{{domxref("MouseEvent.screenX")}}, {{domxref("MouseEvent.screenY")}}, {{domxref("MouseEvent.clientX")}}, and {{domxref("MouseEvent.Y")}} are double instead of long.</td> - <td>{{CompatChrome(56)}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</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>Edge</th> - <th>Firefox Mobile (Gecko)</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>{{CompatVersionUnknown}}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - <td>{{ CompatUnknown() }}</td> - </tr> - </tbody> -</table> -</div> - -<p>[1] Requires enabling the <code>ExperimentalCanvasFeatures</code> flag.</p> +{{Compat("api.MouseEvent")}} <h2 id="參見">參見</h2> |