Skip to content

isElementVisibleInOffsetParent

Checks if the element is visible in the offset parent.

Import:

import { isElementVisibleInOffsetParent } from '@mnaoumov/typescript-lib/html-element';

Signature:

function isElementVisibleInOffsetParent(element: HTMLElement): boolean

Parameters:

Parameter Type Description
element HTMLElement The element to check.

Returns: boolean — true if the element is visible in the offset parent, false otherwise.