GSI - Employe Self Service Mobile
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
800 B

2 months ago
  1. @protobufjs/eventemitter
  2. ========================
  3. [![npm](https://img.shields.io/npm/v/@protobufjs/eventemitter.svg)](https://www.npmjs.com/package/@protobufjs/eventemitter)
  4. A minimal event emitter.
  5. API
  6. ---
  7. * **new EventEmitter()**<br />
  8. Constructs a new event emitter instance.
  9. * **EventEmitter#on(evt: `string`, fn: `function`, [ctx: `Object`]): `EventEmitter`**<br />
  10. Registers an event listener.
  11. * **EventEmitter#off([evt: `string`], [fn: `function`]): `EventEmitter`**<br />
  12. Removes an event listener or any matching listeners if arguments are omitted.
  13. * **EventEmitter#emit(evt: `string`, ...args: `*`): `EventEmitter`**<br />
  14. Emits an event by calling its listeners with the specified arguments.
  15. **License:** [BSD 3-Clause License](https://opensource.org/licenses/BSD-3-Clause)