Quantumbraid's picture
download
raw
336 Bytes
"use strict";
exports.__esModule = true;
exports.default = isVisible;
/**
* Checks if a given element is currently visible.
*
* @param node the element to check
*/
function isVisible(node) {
return node ? !!(node.offsetWidth || node.offsetHeight || node.getClientRects().length) : false;
}
module.exports = exports["default"];

Xet Storage Details

Size:
336 Bytes
·
Xet hash:
d6c2a9439749a7eda21e56caad65691e0969a5f136d116f3fc68d4f6e7cb0023

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.