Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

Funksjon: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

Beregn og anvend en numerisk --lines-verdi fra tilgjengelig høyde.

Parametere ​

host ​

HTMLElement

target ​

HTMLElement

Returnerer ​

void