The parameters for updating a text element.
See UITextElement for more details.
id and type are required to identify the element to update.
type:
"Text"
id:
string
The ID of the element.
optionalcontent:string
The text to display in the element.
optionalonCreate: (args: {id:string; }) =>void
A function to call when the element is created.
void
optionalonDestroy: (args: {id:string; }) =>void
A function to call when the element is destroyed.
void
args
{ id: string; }
The arguments passed to the function.
args.id
string
The id of the element.
args
{ id: string; }
The arguments passed to the function.
args.id
string
The id of the element.