Basic content
# Basic content
# Description of the basic content
| Component | Description | Minimum version |
|---|---|---|
| icon | icon | 1.0.0 |
| text | Text | 1.0.0 |
| progress | The progress bar | 1.0.0 |
| rich-text | Rich text | 1.0.0 |
# icon
| Properties | Type | The default value is | Required | Description | Minimum version |
|---|---|---|---|---|---|
| type | string | Yes | Type of icon, valid values: success, success_no_circle, info, warn, waiting, cancel, download, search, clear | 1.0.0 | |
| size | number/string | 23 | No | The size of icon | 1.0.0 |
| color | string | No | The color of icon is | as the color of css 1.0.0 |
# text
| Properties | Type | The default value is | Required | Description | Minimum version |
|---|---|---|---|---|---|
| user-select | boolean | false | No | Whether the text is optional, this property causes the text node to appear as an inline-block | |
| space | string | No | Displays consecutive spaces | 2.11.4 | |
| decode | boolean | false | No | Whether to decode the | 2.11.4 |
# The legal value of space
| The value | Description | Minimum version |
|---|---|---|
| ensp | Chinese character spaces half the size of | |
| emsp | Chinese character space size | |
| nbsp | The space size set according to the font |
# progress
| Properties | Type | The default value is | Required | Description | Minimum version |
|---|---|---|---|---|---|
| percent | number | No | Percentage 0 to 100 | 1.0.0 | |
| show-info | boolean | false | No | Displays the percentage | to the right of the progress bar 1.0.0 |
| stroke-width | number/string | 6 | No | The width of the progress bar line is | 1.0.0 |
| color | string | #09BB07 | No | The progress bar color (use activeColor) | 1.0.0 |
| active | boolean | false | No | The progress bar is animated from left to right | 1.0.0 |
| border-radius | number/string | 0 | No | Rounded corner size | 2.11.4 |
| font-size | number/string | 16 | No | The right percent font size is | 2.11.4 |
| activeColor | string | #09BB07 | No | The color of the selected progress bar | 2.11.4 |
| backgroundColor | string | #EBEBEB | No | The color of the progress bar that is not selected | 2.11.4 |
| active-mode | string | backwards | No | backwards: Animation from scratch; forwards: The animation plays | from the last end point 2.11.4 |
| duration | number | 30 | No | The number of milliseconds required to increase progress by 1% | 2.11.4 |
| bindactiveend | eventhandle | No | Animation completion event | 2.11.4 |
# rich-text
| Properties | Type | The default value is | Required | Description | Minimum version |
|---|---|---|---|---|---|
| nodes | array/string | [] | No | Node List/HTML String | 1.0.0 |
| space | string | No | Displays consecutive spaces | 2.11.4 |
Last update: 2022/08/11, 20:42:12