Skip to content

Commit

Permalink
add docs for .listeners(event)
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Jul 12, 2012
1 parent bcb45a5 commit d23e2ad
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,10 @@ $ npm install emitter-component

Emit an `event` with variable option args.

### Emitter#has(event)
### Emitter#listeners(event)

Return an array of callbacks, or an empty array.

### Emitter#hasListeners(event)

Check if this emitter has `event` handlers.

0 comments on commit d23e2ad

Please sign in to comment.