Skip to content

pantoken-root / formats/interactions/src / applySpacing

函数: applySpacing() ​

applySpacing(host): void

将 InstUI/CSS 间距属性应用到 host 的内联样式。

会先清除受管理的属性,因此移除属性会移除其样式。

参数 ​

host ​

HTMLElement

返回值 ​

void