Skip to content

Basic Components ​

Basic Components introductions ​

componentIntroductionsMinimum version
iconIcon1.0.0
texttext1.0.0
progressprogress1.0.0
rich-textrich-text1.0.0

icon ​

attributetypeDefault valueRequiredIntroductionsMinimum version
typestringyesType of icon, valid value: success, success_No_circle, info, warn, waiting, cancel, download, search, clear1.0.0
sizenumber/string23noThe size of the icon1.0.0
colorstringnoIcon color, with css color1.0.0

text ​

attributetypeDefault valueRequiredIntroductionsMinimum version
user-selectbooleanfalsenoWhether the text is optional, this property causes the text node to display as inline-blockNot supported
spacestringnoDisplay continuous spaces2.11.4
decodebooleanfalsenoWhether to decode2.11.4
valueIntroductionsMinimum version
enspChinese character space half size
emspChinese character space size
nbspSpace size based on font

progress ​

attributetypeDefault valueRequiredIntroductionsMinimum version
percentnumbernoPercentage 01001.0.0
show-infobooleanfalsenoShow percentages on the right side of the progress bar1.0.0
stroke-widthnumber/string6noWidth of progress bar1.0.0
colorstring#09BB07noProgress bar color (use active Color)1.0.0
activebooleanfalsenoAnimation of the progress bar from left to right1.0.0
border-radiusnumber/string0noFillet size2.11.4
font-sizenumber/string16noRight Percent Font Size2.11.4
activeColorstring#09BB07noColor of the selected progress bar2.11.4
backgroundColorstring#EBEBEBnoColor of unselected progress bar2.11.4
active-modestringbackwardsnobackwards: Animation from scratchBefore: animation continues from the last ending point2.11.4
durationnumber30noMilliseconds to increase progress by 1%2.11.4
bindactiveendeventhandlenoAnimation Completion Event2.11.4

rich-text ​

attributetypeDefault valueRequiredIntroductionsMinimum version
nodesarray/string[]noNode list/HTML String1.0.0
spacestringnoDisplay continuous spaces2.11.4