Type alias Subscriber<Data, Plugin>

Subscriber<Data, Plugin>: ((event) => 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