IEventListener¶
Interface IEventListener<T>
Type Parameters
- T extends WebVisEvent = WebVisEvent
The type of event that the listener listens to. This can also be a union of multiple event types.
The type of event that the listener listens to. This can also be a union of multiple event types.
A listener for webvis events that can be registered via the EventAPI.
The listener consumes an event that extends WebVisEvent and is expected to not return anything. If the listener returns a promise, the listener execution mechanism will not wait for the promise to resolve.
The event's type property specifies its EventType and determines its structure.