Text 文字组件
具备 基本属性 和 基本事件
Text 支持的css 属性枚举:
color
fontSize
fontStyle
fontWeight
lineHeight
textAlign
textDecoration
lines
textOverflow
Text 不支持的css 属性:
display
width
height
border
注意
- 在web端你可以设置span display block 来实现与div、p等块级元素等同的效果,但在rx中不可以。
- Text 标签不支持嵌套。