Jump to content
Toggle menu
  • 17.3K articles
  • 8.2K files
  • 5 users
  • 280.7K edits
WoW Classic Wiki
Toggle preferences menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

API SimpleHTML SetText

From WoW Classic Wiki

This method will set the SimpleHTML text content to the supplied text.

SimpleHTML:SetText("arg1");


Parameters

Arguments

("arg1")
arg1
String - Text that will be displayed in the SimpleHTML element.

Returns

nil
nil - Will always return nil.


Details

The SimpleHTML element supports (as hinted by the name) a simple HTML-like markup. It also supports normal plain text with standard escape sequences. If the string does not contain the "<HTML><BODY>...</BODY></HTML>" structure (with only whitespace before the "<HTML>" tag) it will automagically revert to plain mode.

See UIOBJECT_SimpleHTML for supported markup.


Also See