- 博客(1)
- 收藏
- 关注
原创 js orientationchange事件在获取页面宽高时出错
在旋转屏幕之后 再去执行某些操作 千万不要用setTimeout 因为根据机型的不同 time不准确 JS: window.addEventListener('orientationchange', function() { // After orientationchange, add a one-time resize event var afterOrientationCha...
2020-03-03 15:15:53 203
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人