Type Alias Subscriber<Data, Plugin>

Subscriber<Data, Plugin>: ((event: Event<Data, Plugin>) => void)

The callback that receives events dispatched by a Field.

Type Parameters

  • Data = any

    The additional data related to the event.

  • Plugin = any

    The plugin injected into the field.

Type declaration

    • (event): void
    • Parameters

      Returns void