For the complete documentation index, see llms.txt. This page is also available as Markdown.

In-App Message

This feature is supported in React SDK version 11.15.0 and above.

For details about In-App Message campaigns, refer to the In-App Message guide.

In-App Message Developer Guide

Interfaces

HackleInAppMessage

interface HackleInAppMessage {
  key: number
}
  • Returns the key of the In-App Message.

HackleInAppMessageView

interface HackleInAppMessageView {
  close(): void
  inAppMessage: HackleInAppMessage // 11.48.0+
}
  • You can directly close the In-App Message from within a listener function by calling close().

Methods

getDisplayedInAppMessageView

  • Returns the In-App Message currently displayed in the browser.

  • The return type is HackleInAppMessageView | null.

    • Returns null if there is no currently displayed In-App Message.

Last updated