Fandom

WoWWiki

API SimpleHTML SetText

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Widget API ← SimpleHTML < SetText

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

SimpleHTML:SetText("arg1");

Parameters Edit

Arguments Edit

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

Returns Edit

nil
nil - Will always return nil.

Details Edit

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.

See Also Edit


Also on Fandom

Random Wiki