Text Text
Text display.
When to use
- Display descriptive information through text.
Component Example
Component Properties
| 属性 | 说明 | 类型 | 默认值 |
|---|---|---|---|
behavior | Default state | 'NORMAL' | 'HIDDEN' | 'NORMAL' |
content | Text content | string | 'Text' |
contentPaddingMobile | Mobile side spacing, unit in px | '0 | 16' | '0' |
maxLine | Maximum number of lines, automatically displays ellipsis when exceeded | number | 0 |
showTitle | Whether to display the content as the title attribute of the html tag | boolean | false |
This doc is generated using machine translation. Any discrepancies or differences created in the translation are not binding and have no legal effect for compliance or enforcement purposes.
Is this document helpful?