📌  相关文章
📜  如何在窗口旋转时执行 javascript cde - Javascript 代码示例

📅  最后修改于: 2022-03-11 15:01:15.003000             🧑  作者: Mango

代码示例1
window.addEventListener("orientationchange", function(event) {
  console.log("the orientation of the device is now " + event.target.screen.orientation.angle);
});