Skip to content

isElementVisibleInOffsetParent

Checks if the element is visible in the offset parent.

Import:

import { isElementVisibleInOffsetParent } from 'obsidian-dev-utils/html-element';

Signature:

function isElementVisibleInOffsetParent(el: HTMLElement): boolean

Parameters:

ParameterTypeDescription
elHTMLElementThe element to check.

Returns: booleantrue if the element is visible in the offset parent, false otherwise.