Text
Text component for mp
Example
bxml
js
Tips
& Bug
:#
- Decode can be parsed with
 
<
>
&
&apos
&ensp
&emsp
- The standard of whitespace is not consistent across operating systems.
#
PropsName | Type | Description | Default |
---|---|---|---|
user-select | boolean | Whether the text is optional, this property causes the text node to display as inline-block | false |
decode | boolean | Whether to decode | false |
space | 'ensp' | 'emsp' | 'nbsp' | Display continuous spaces |