toggleHelpHub(config?)
Toggle HelpHub. Opens HelpHub if it's closed, and closes HelpHub if it's open.
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 get the ID from the Editor - go to the Bar section, then click the ... menu to the right of a command, then click Copy ID. |