helkbore

// 判断是否为隐藏(css)样式

function isHide(obj) {

 

var ret = obj.style.display === "none" ||

obj.style.display === "" ||

(obj.currentStyle && obj.currentStyle === "none") ||

(window.getComputedStyle && window.getComputedStyle(obj, null).display === "none")

 

return ret;

 

}

分类:

技术点:

相关文章:

  • 2022-02-09
  • 2022-01-08
  • 2021-11-09
  • 2021-10-25
  • 2022-01-30
  • 2021-08-17
猜你喜欢
  • 2022-01-16
  • 2022-02-09
  • 2022-02-09
  • 2022-01-26
  • 2022-02-09
  • 2022-02-09
  • 2021-10-14
相关资源
相似解决方案