Advice and answers from the UserGuiding Team
Users
Engagement
Settings
Knowledge Base
Learn how to utilize the UserGuiding's JavaScript API Knowledge Base methods

Launch the Knowledge Base Widget

Opens the Knowledge Base Widget. Please note that this method opens a standalone widget, not the Resource Center knowledge base tab.


Type Definition

type launchKnowledgeBase = () => void


Example:

Opens the knowledge base


userGuiding.launchKnowledgeBase();


Hide the Knowledge Base Widget

Closes the Knowledge Base if it is open.


Type Definition

type hideKnowledgeBase = () => void


Example:

Closes the knowledge base widget


userGuiding.hideKnowledgeBase();
Did this answer your question?