Skip to content

pantoken / formats/interactions/src / syncTruncateAutoLines

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

syncTruncateAutoLines(host, target): void

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

Պարամետրեր

host

HTMLElement

target

HTMLElement

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

void