UNPKG

ingenious-flow-designer

Version:

[演示地址](http://antd-vben5-pro.madong.tech/)

26 lines (25 loc) 495 B
const isVisible = (element) => { if (!element) { return false; } if (element.offsetParent) { return true; } if (element.getBBox) { const box = element.getBBox(); if (box.width || box.height) { return true; } } if (element.getBoundingClientRect) { const box = element.getBoundingClientRect(); if (box.width || box.height) { return true; } } return false; }; export { isVisible as i }; //# sourceMappingURL=isVisible-syGnHoil.js.map