Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface Emitter<Events>

An emitter of events.

Type parameters

  • Events

Hierarchy

Index

Properties

Properties

on

on: function

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

param

the name of the emitted event.

param

the function to call with the emitted value.

returns

a function to unsubscribe the handler again.

Type declaration