这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
onchange
特性为
ScreenOrientation
is an event handler fired whenever is the
EventHandler
called when the screen changes orientation.
ScreenOrientation.addEventListener('change', function(e) { ... })
ScreenOrientation.onchange = function(e) { ... }
| 规范 | 状态 | 注释 |
|---|---|---|
|
Screen Orientation API
The definition of 'onchange' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
onchange
|
Chrome 38 | Edge 79 | Firefox 43 | IE 不支持 No | Opera 25 | Safari 不支持 No | WebView Android 38 | Chrome Android 38 | Firefox Android 43 | Opera Android 25 | Safari iOS 不支持 No | Samsung Internet Android 3.0 |
完整支持
不支持