Skip to content

pantoken-root / formats/interactions/src / TruncateAutoOptions

介面: TruncateAutoOptions ​

用於 initTruncateAuto 的可選參數。

屬性 ​

observeParent? ​

optional observeParent?: boolean

觀察宿主的父元素尺寸(預設為 true)。


slot? ​

optional slot?: HTMLSlotElement | null

在 Shadow DOM 使用時,用於監視 slotchange 重新同步的可選插槽。