<tap-divider>
分割线组件。用于划分不同内容区域,可添加文字标题及设置粗细。
Example
Loading...
<tap-divider></tap-divider> <tap-divider> 文本居中 </tap-divider> <tap-divider .position=${"start"}> 靠左文本 </tap-divider> <tap-divider .size=${"medium"}> 加粗样式 </tap-divider>
API
Shadow DOM; Extends GemElement
Instance Properties
| Property(Attribute) | Reactive | Type |
|---|---|---|
size(size) |
Yes | 'small' | 'medium' | 'large' |
color(color) |
Yes | string |
orientation(orientation) |
Yes | 'horizontal' | 'vertical' |
position(position) |
Yes | 'start' | 'center' | 'end' |
Other
| Type | Value |
|---|---|
| Slot | unnamed |
