Skip to content

Commit

Permalink
Merge pull request #67 from notmessenger/documentation
Browse files Browse the repository at this point in the history
Updates documentation to reflect discovery made in #59
  • Loading branch information
notmessenger committed Nov 28, 2017
2 parents ecae7e0 + 526f478 commit 1dd7e41
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,15 @@ export default Ember.Controller.extend({
})
```

You can also close over the context of a component to send actions, such as:

```
onDetailsClick: (details) => {
this.send('someAction', details)
}
```


## Testing with ember-hook
This addon has been optimized for use with [ember-hook](https://github.com/Ticketfly/ember-hook). You can set a `hook` name on your notifier template.
This will allow you to access the internal notifier content for testing.
Expand Down

0 comments on commit 1dd7e41

Please sign in to comment.