@augment-vir/web
Version:
A collection of augments, helpers types, functions, and classes only for web (frontend) JavaScript environments.
9 lines (8 loc) • 324 B
TypeScript
/**
* Detects `display: none` and only works if the element does not have `position: fixed;`.
*
* @category Web : Elements
* @category Package : @augment-vir/web
* @package [`@augment-vir/web`](https://www.npmjs.com/package/@augment-vir/web)
*/
export declare function isElementVisible(element: HTMLElement): boolean;