A widget that promotes the TECSAFE Layout configurator on a product detail page, or similar product related page. Use when a clear product context exists, usually a container vessel for foam layouts.

Hierarchy (view full)

Constructors

Properties

The widget manager API

articleNumber: string

The article number of the product

The widget manager configuration

el: HTMLElement

The element to attach the widget to

iframe: HTMLIFrameElement = null

The iframe element

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

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