SimpleHTML
widget type23 methodsavailable in: camelot
CreateFrame("SimpleHTML", …) makes one. It has every method of Frame, plus 23 of its own.
Inherits from
- SimpleHTML · 23
- Frame · 126
- Region · 16
- ScriptRegion · 55
- ScriptRegionResizing · 13
- AnimatableObject · 3
- Object · 5
- 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.
| method | what it does | status |
|---|---|---|
GetContentHeight | Returns the height of the frame's content. · by wowlua(): number | guessed |
GetFont | Returns the basic font properties. · warcraft.wiki.gg ↗(textType: HTMLTextType): (string, uiFontHeight, TBFFlags) | implemented |
GetFontObject | Returns the font object used for a kind of text. · by wowlua(textType: HTMLTextType): Font | guessed |
GetHyperlinkFormat | Returns the format string used to show hyperlinks. · by wowlua(): string | guessed |
GetIndentedWordWrap | Whether wrapped lines of a kind of text are indented. · by wowlua(textType: HTMLTextType): boolean | guessed |
GetJustifyH | Returns the horizontal alignment of a kind of text. · by wowlua(textType: HTMLTextType): JustifyHorizontal | guessed |
GetJustifyV | Returns the vertical alignment of a kind of text. · by wowlua(textType: HTMLTextType): JustifyVertical | guessed |
GetShadowColor | Returns the red, green, blue and alpha components of a kind of text's shadow color. · by wowlua(textType: HTMLTextType): (number, number, number, number) | guessed |
GetShadowOffset | Returns the x and y offsets of a kind of text's shadow. · by wowlua(textType: HTMLTextType): (number, number) | guessed |
GetSpacing | Returns the spacing between lines of a kind of text. · by wowlua(textType: HTMLTextType): number | guessed |
GetTextColor | Returns the red, green, blue and alpha components of a kind of text's color. · by wowlua(textType: HTMLTextType): (number, number, number, number) | guessed |
GetTextData | Returns the frame's content as a list of content nodes. · by wowlua(): HTMLContentNode[] | guessed |
SetFont | Sets the basic font properties. · warcraft.wiki.gg ↗(textType: HTMLTextType, fontFile: string, height: uiFontHeight, flags: TBFFlags) | implemented |
SetFontObject | Sets the font object used for a kind of text. · by wowlua(textType: HTMLTextType, font: Font) | implemented |
SetHyperlinkFormat | Sets the format string used to show hyperlinks. · by wowlua(format: string) | implemented |
SetIndentedWordWrap | Sets whether wrapped lines of a kind of text are indented. · by wowlua(textType: HTMLTextType, wordWrap: boolean) | guessed |
SetJustifyH | Sets the horizontal alignment of a kind of text. · by wowlua(textType: HTMLTextType, justifyH: JustifyHorizontal) | guessed |
SetJustifyV | Sets the vertical alignment of a kind of text. · by wowlua(textType: HTMLTextType, justifyV: JustifyVertical) | guessed |
SetShadowColor | Sets the color of a kind of text's shadow. · by wowlua(textType: HTMLTextType, colorR: number, colorG: number, colorB: number, a: number?) | guessed |
SetShadowOffset | Sets the x and y offsets of a kind of text's shadow. · by wowlua(textType: HTMLTextType, offsetX: number, offsetY: number) | guessed |
SetSpacing | Sets the spacing between lines of a kind of text. · by wowlua(textType: HTMLTextType, spacing: number) | guessed |
SetText | Sets the SimpleHTML content. · warcraft.wiki.gg ↗(text: string, ignoreMarkup: boolean) | implemented |
SetTextColor | Sets 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.