Skip to content

WorkspaceSplit.setElSize method

WorkspaceSplit › setElSize

Unofficial

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

Signature:

setElSize(el: HTMLElement, size: number): void

Parameters:

ParameterTypeDescription
elHTMLElementThe element to size.
sizenumberThe size in pixels.

Returns: void