PlainTextOnlyTextObject
init
Creates a PlainTextOnlyTextObject
instance.
Name | Type | Required | Default | Description |
---|---|---|---|---|
text |
| true | The text to display. | |
maxLength |
| false |
| The maximum length for the text object. Text over the maximum length will be truncated at the maximum length with |
minLength |
| false |
| The minimum length for the text object. |
Return: The PlainTextOnlyTextObject
instance.
emoji
Sets the PlainTextOnlyTextObject
to interpret emoji in the text field.
Name | Type | Required | Default | Description |
---|---|---|---|---|
No arguments |
Return: The PlainTextOnlyTextObject
instance.
getMemento
Converts the PlainTextOnlyTextObject
instance to a serializable format.
Name | Type | Required | Default | Description |
---|---|---|---|---|
No arguments |
Return: (struct
) A struct representing this PlainTextOnlyTextObject
instance.
Last updated