Skip to main content
Requires usertour.js 0.0.20 or later.
The hideResourceCenterLauncher() method hides the resource center launcher button. Use this when you want to suppress the launcher in specific parts of your app — for example, on a focused checkout page — without disabling the resource center entirely. 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. Call showResourceCenterLauncher() to bring the launcher back.

Parameters

None.

Returns

void

Example

// Hide the launcher on a focused checkout flow
enterCheckout(() => {
  usertour.hideResourceCenterLauncher();
});
The resource center panel can still be opened programmatically via openResourceCenter() while the launcher is hidden.