Text

You will find here a description of the component Text and its attributes.

What is it?

Text component defines the native text using the server-driven information.

The structure is represented by the attributes below:

AttributeTypeRequiredDefinition
textString or BindingDefines the content in text to be rendered.
styleIdStringRefers to a locally configured style that it will be applied on the text.
textColorStringDefines the text color.
alignmentTextAlignmentDefine the alignment of the text.

TextAlignment

AttributeDefinition
LEFTContent align to the left in the text viewer.
CENTERContent align in the center in the text viewer.
RIGHTContent align to the right in the text viewer.

How to use it?

Text(text = "Hello World!")

Last modified February 11, 2021: create content (#298) (43225e15)