We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Learn more about funding links in repositories.
Report abuse
There was an error while loading. Please reload this page.
第322天 用js写一个绑定事件检测窗口大小
作者:cxwht
我也要出题
dom绑定按钮,点击按钮响应click事件,返回window对象下的screen
window.onresize = function(e){ console.log(e) }
window.addEventListener("resize", ()=>{}, false);
Activity
Sylern commentedon Mar 3, 2020
dom绑定按钮,点击按钮响应click事件,返回window对象下的screen
longhui520 commentedon Mar 3, 2020
xiaoqiangz commentedon Sep 13, 2022
window.addEventListener("resize", ()=>{}, false);