Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

函式: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

計算並從可用高度套用數值 --lines。

參數 ​

host ​

HTMLElement

target ​

HTMLElement

回傳 ​

void