A widget that promotes TECSAFE on a custom page, e.g. a blog post, landing page, etc.

Hierarchy (view full)

Constructors

Properties

el: HTMLElement
iframe: HTMLIFrameElement = null

The iframe element

listeners: Map<string, MessageEventHandler<any>[]> = ...
uiPath: "custom-page" = 'custom-page'

The path to the iframe which will be appended to the uiBaseURL to get the full URL

Methods

  • Triggers all listeners for a given message type

    Parameters

    • type: string

      The message type

    • envelope: MessageEnvelope<any>

      The message envelope containing the payload

    • sdk: ISDK

      The SDK instance

    • widget: IWidget

      The widget instance

    Returns void