Interface EventsContext
Properties
Readonly emit
emit: function
Type declaration
-
- (event: Events, ...args: any[]): boolean
-
Parameters
Returns boolean
Readonly off
off: function
Type declaration
-
- (event: Events, fn: function): void
Readonly on
on: function
Type declaration
-
- (event: Events, fn: function): void
Interface representing global events context. There should be exactly one instance implementing this interface in the whole application.