Creates a new ProductDetailPageWidget, not recommended to use directly, use the widget manager instead
The widget manager configuration
The element to attach the widget to
The widget manager API
OptionalcontextId: stringThe context ID of the custom page, if not provided, the widget will show a generic start page
Protected ReadonlyapiThe widget manager API
Protected ReadonlyconfigThe widget manager configuration
Protected Optional ReadonlycontextThe context ID of the custom page, if not provided, the widget will show a generic start page
ProtectedelThe element to attach the widget to
ProtectediframeThe iframe element
ProtectedlistenersProtected ReadonlyuiThe path to the iframe which will be appended to the uiBaseURL to get the full URL
Emits a message to the iframe
The message definition
The payload to send
this
Stops listening to a message from the iframe
The message definition
The handler to remove
this
Listens to a message from the iframe
The message definition
The handler to call when the message is received
this
ProtectedonLifecycle hooks for extending classes
The message event
Promise
Listens to a message from the iframe once
The message definition
The handler to call when the message is received
this
ProtectedpostProtectedpostProtectedpostProtectedpostProtectedpreProtectedpreProtectedpreProtectedpreSends a message to the iframe
The message to send
void
ProtectedtriggerTriggers all listeners for a given message type
The message type
The message envelope containing the payload
The SDK instance
The widget instance
A widget that promotes the TECSAFE Layout configurator on a custom page, e.g. a blog post, landing page, etc. Use when a no clear product context exists - which is usually the case for generic demos or custom foam configurations.
See
TecsafeWidgetManager