Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

函数: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

根据可用高度计算并应用数值 --lines。

参数 ​

host ​

HTMLElement

target ​

HTMLElement

返回值 ​

void