Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API KBArticle BeginLoading

Last wiki revision 2022-07-22

Starts the article load process.

KBArticle_BeginLoading(id, searchType)

  • (id, searchType)
  • id: - The article's ID
  • searchType: - Search type for the loading process.
  • nil
  • The searchType can be either 1 or 2. 1 is used if the search text is empty, 2 otherwise.

function KnowledgeBaseArticleListItem_OnClick local searchText = KnowledgeBaseFrameEditBox:GetText; local searchType = 2; if (searchText ==KBASE_DEFAULT_SEARCH_TEXT or searchText== "") then searchType = 1; end KBArticle_BeginLoading(this.articleId, searchType); end From Blizzard's KnowledgeBaseFrame.lua (l. 529 ff.)

Source

https://warcraft.wiki.gg/wiki/API_KBArticle_BeginLoading · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.