Skip to content

pantoken / formats/interactions/src / syncTruncateAutoLines

Function: syncTruncateAutoLines()

syncTruncateAutoLines(host, target): void

Compute and apply a numeric --lines value from available height.

Parameters

host

HTMLElement

target

HTMLElement

Returns

void