BOC v1.0: RS256 auth, Ledger integration, Prometheus metrics, CI/CD, backup
This commit is contained in:
+8
@@ -0,0 +1,8 @@
|
||||
/**
|
||||
* Checks if a given element is currently visible.
|
||||
*
|
||||
* @param node the element to check
|
||||
*/
|
||||
export default function isVisible(node) {
|
||||
return node ? !!(node.offsetWidth || node.offsetHeight || node.getClientRects().length) : false;
|
||||
}
|
||||
Reference in New Issue
Block a user