Fandom

WoWWiki

API KBSetup BeginLoading

104,757pages on
this wiki
Add New Page
Talk0 Share
WoW API < KBSetup BeginLoading

Starts the loading of articles.

KBSetup_BeginLoading(articlesPerPage, currentPage)

Parameters Edit

Arguments Edit

(articlesPerPage, currentPage)
articlesPerPage 
Integer - Number of articles shown on one page.
currentPage 
Integer - The current page (starts at 1).

Returns Edit

nil

Example Edit

In KnowledgeBaseFrame_OnShow():

 KBSetup_BeginLoading(KBASE_NUM_ARTICLES_PER_PAGE, KBASE_CURRENT_PAGE)

From Blizzard's KnowledgeBaseFrame.lua (l. 51)

Details Edit

  • This will start the article loading process and return immediately.
  • When all articles are loaded the event KNOWLEDGE_BASE_SETUP_LOAD_SUCCESS is fired.
  • If an error occurs in the loading process, the event KNOWLEDGE_BASE_SETUP_LOAD_FAILURE is fired.

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.