Skip to main content
Requires usertour.js 0.0.20 or later.
The showResourceCenterLauncher() method makes the resource center launcher button visible. This reverses a previous call to hideResourceCenterLauncher(). The launcher visibility is a global setting on the Usertour client: the call is remembered even if it is made before the resource center session is active, and it is applied as soon as a resource center activates.

Parameters

None.

Returns

void

Example

// Re-show the launcher when the user leaves a distraction-free view
exitFocusMode(() => {
  usertour.showResourceCenterLauncher();
});
This only controls the launcher button. The resource center panel itself can still be opened programmatically with openResourceCenter() while the launcher is hidden.