Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

Hàm: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

Tính toán và áp dụng một giá trị số --lines từ chiều cao có sẵn.

Tham số ​

host ​

HTMLElement

target ​

HTMLElement

Trả về ​

void