toggleHelpHub(config?)
Toggle HelpHub. Opens HelpHub if it's closed, and closes HelpHub if it's open.
Example
window.CommandBar.toggleHelpHub();
Method parameters
config
object
Configure how HelpHub should open.
Property | Type | Description |
---|---|---|
articleId | number | Open HelpHub with an article pre-opened. You can determine the ID of an article by opening the article's source in the Content section of the Dashboard and clicking the ... for the specific article. |