📌  相关文章
📜  窗口大小调整事件javascript代码示例

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

代码示例5
function resizedw(){
    // Haven't resized in 100ms!
}

var doit;
window.onresize = function(){
  clearTimeout(doit);
  doit = setTimeout(resizedw, 100);
};