Skip to content

WorkspaceSplit.getElSize method

WorkspaceSplit › getElSize

Unofficial

Gets the size of an element along the split's direction.

Signature:

getElSize(el: HTMLElement): number | undefined

Parameters:

Parameter Type Description
el HTMLElement The element to measure.

Returns: number | undefinedThe size in pixels, or undefined when the direction is unset.