Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPortalCallback

Message sent from a portal in response to events whose integration registered a listener on an element/component.

The requesting integration must have the PORTAL_AUTH_TYPE or ALL_AUTH_TYPE authorization scope.

An example of portal callback in response to a click event on custom element:

example

{
   type: 'portal:callback',
   callbackId: 'your-callback-id',
   portalId: 'portalId',
   selectorData: {
     event: 'onClick'
   }
}

Hierarchy

  • IPortalCallback

Index

Properties

callbackId

callbackId: string

event

Optional owningIntegrationId

owningIntegrationId: string

portalId

portalId: string

type

Generated using TypeDoc