Avatar.setText

void setText(string text = null)

Sets the text used to generate the fallback initials and color.

It's only used to generate the color if propertyAvatar:show-initials is FALSE.

Parameters

textthe text used to get the initials and color