Skip to content

Banners

Shows a banner at the moment you choose. If another banner is visible, it is replaced. The user must be identified first.

type launchBanner = (bannerId: number) => void
bannerIdnumberrequired

The banner ID from the panel. Pass a number.

window.userGuiding.launchBanner(3001)

Hides the visible banner. Does nothing if no banner is showing.

type hideBanner = () => void
window.userGuiding.hideBanner()

Use onBannerDismiss and onBannerButtonClick to react to banner interactions.