Skip to content

pantoken-root / formats/interactions/src / syncTruncateAutoLines

Ֆունկցիա: syncTruncateAutoLines() ​

syncTruncateAutoLines(host, target): void

Հաշվել և կիրառել թվային --lines արժեքը՝ մատչելի բարձրությունից։

Պարամետրեր ​

host ​

HTMLElement

target ​

HTMLElement

Վերադարձվող արժեք ​

void