Skip to content

pantoken-root / formats/interactions/src / initTruncateAuto

Fonksyon: initTruncateAuto() ​

initTruncateAuto(host, target, options?): TruncateAutoHandle

Kenbe --lines senkronize ak wotè ki disponib pou yon sib tronkaj otomatikman klampe.

  • Itilizasyon CSS: bay menm eleman an kòm host ak target.
  • Itilizasyon konpozan wèb: bay host eleman koutim + span sib tronkaj nan Shadow DOM.

Paramèt ​

host ​

HTMLElement

target ​

HTMLElement

options? ​

TruncateAutoOptions

Retounen ​

TruncateAutoHandle