v0.13.7

SimpleHTML

widget type23 methodsavailable in: camelot

CreateFrame("SimpleHTML", …) makes one. It has every method of Frame, plus 23 of its own.

Inherits from

  1. SimpleHTML · 23
  2. Frame · 126
  3. Region · 16
  4. ScriptRegion · 55
  5. ScriptRegionResizing · 13
  6. AnimatableObject · 3
  7. Object · 5
  8. FrameScriptObject · 21

The number is each type's own documented methods. A SimpleHTML has all of them.

Methods

In the emulator: 5 implemented, 18 guessed.

methodwhat it doesstatus
GetContentHeightReturns the height of the frame's content. · by wowlua
(): number
guessed
GetFontReturns the basic font properties. · warcraft.wiki.gg ↗
(textType: HTMLTextType): (string, uiFontHeight, TBFFlags)
implemented
GetFontObjectReturns the font object used for a kind of text. · by wowlua
(textType: HTMLTextType): Font
guessed
GetHyperlinkFormatReturns the format string used to show hyperlinks. · by wowlua
(): string
guessed
GetIndentedWordWrapWhether wrapped lines of a kind of text are indented. · by wowlua
(textType: HTMLTextType): boolean
guessed
GetJustifyHReturns the horizontal alignment of a kind of text. · by wowlua
(textType: HTMLTextType): JustifyHorizontal
guessed
GetJustifyVReturns the vertical alignment of a kind of text. · by wowlua
(textType: HTMLTextType): JustifyVertical
guessed
GetShadowColorReturns the red, green, blue and alpha components of a kind of text's shadow color. · by wowlua
(textType: HTMLTextType): (number, number, number, number)
guessed
GetShadowOffsetReturns the x and y offsets of a kind of text's shadow. · by wowlua
(textType: HTMLTextType): (number, number)
guessed
GetSpacingReturns the spacing between lines of a kind of text. · by wowlua
(textType: HTMLTextType): number
guessed
GetTextColorReturns the red, green, blue and alpha components of a kind of text's color. · by wowlua
(textType: HTMLTextType): (number, number, number, number)
guessed
GetTextDataReturns the frame's content as a list of content nodes. · by wowlua
(): HTMLContentNode[]
guessed
SetFontSets the basic font properties. · warcraft.wiki.gg ↗
(textType: HTMLTextType, fontFile: string, height: uiFontHeight, flags: TBFFlags)
implemented
SetFontObjectSets the font object used for a kind of text. · by wowlua
(textType: HTMLTextType, font: Font)
implemented
SetHyperlinkFormatSets the format string used to show hyperlinks. · by wowlua
(format: string)
implemented
SetIndentedWordWrapSets whether wrapped lines of a kind of text are indented. · by wowlua
(textType: HTMLTextType, wordWrap: boolean)
guessed
SetJustifyHSets the horizontal alignment of a kind of text. · by wowlua
(textType: HTMLTextType, justifyH: JustifyHorizontal)
guessed
SetJustifyVSets the vertical alignment of a kind of text. · by wowlua
(textType: HTMLTextType, justifyV: JustifyVertical)
guessed
SetShadowColorSets the color of a kind of text's shadow. · by wowlua
(textType: HTMLTextType, colorR: number, colorG: number, colorB: number, a: number?)
guessed
SetShadowOffsetSets the x and y offsets of a kind of text's shadow. · by wowlua
(textType: HTMLTextType, offsetX: number, offsetY: number)
guessed
SetSpacingSets the spacing between lines of a kind of text. · by wowlua
(textType: HTMLTextType, spacing: number)
guessed
SetTextSets the SimpleHTML content. · warcraft.wiki.gg ↗
(text: string, ignoreMarkup: boolean)
implemented
SetTextColorSets the text color. · warcraft.wiki.gg ↗
(textType: HTMLTextType, colorR: number, colorG: number, colorB: number, a: number?)
guessed

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.