<tap-space>
自动处理元素间距的布局组件,支持水平和垂直方向以及不同的间距大小。
Example
Loading...
<tap-space .size=${"large"}> <div>Button1</div><div>Button2</div><div>Button3</div> </tap-space>
API
Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
size(size) |
Yes | 'normal' | 'small' | 'large' |
orientation(orientation) |
Yes | 'horizontal' | 'vertical' |
