Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

Funkcja: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

Oblicz i zastosuj numeryczną wartość --lines na podstawie dostępnej wysokości.

Parametry ​

host ​

HTMLElement

target ​

HTMLElement

Zwraca ​

void