Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface PageScope

API to access information about and communicate with the current page in the current channel shown in the Channel Manager.

Hierarchy

Index

Methods

Methods

get

on

  • Subscribes a handler for events emitted by the CMS. The type of the emitted value depends on the emitted event.

    Parameters

    • eventName: keyof PageScopeEvents

      the name of the emitted event.

    • handler: EventHandler<PageScopeEvents>

      the function to call with the emitted value.

    Returns UnsubscribeFn

    A function to unsubscribe the handler again.

refresh

  • refresh(): Promise<void>
  • Refreshes the page currently shown in the Channel Manager.

    Returns Promise<void>