Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface IPortalUpdateEvent

Updates a portal.

An example request to update some-portal-id:

example

{
   type: 'event:event',
   portalId: 'some-portal-id',
   selector: 'anonymous-element',
   selectorData: {
       class: 'pageTitle'
   },
   eventType: 'new'
}

Hierarchy

  • IPortalUpdateEvent

Index

Properties

eventType

Must be a type of PortalResponseEventType.

portalId

portalId: string

Portal to update.

Optional selector

selector: string

Item that should trigger the event.

Optional selectorData

selectorData: object

Extra information about the selector item.

Type declaration

  • [key: string]: string

type

type: "event:event"

Generated using TypeDoc