Skip to content

Commit

Permalink
Update base_api.md
Browse files Browse the repository at this point in the history
tidy up
  • Loading branch information
angus-c committed Jan 29, 2014
1 parent e6eefcc commit 56c9a63
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/base_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,9 +101,9 @@ this.after('initialize', function() {
this.on('click', this.selectItem);
});
```
ef
Example of `handler` as an inline function. This demonstrates how the `ev` and `data` parameters can be used
to receive data from the component's optional `trigger` parameter `eventPayload`.

Example of `handler` as an inline function (this demonstrates how the `ev` and `data` parameters can be used
to receive data from the component's optional `trigger` parameter `eventPayload`):

```js
this.on(document, 'dataSent', function (ev, data) {
Expand Down

0 comments on commit 56c9a63

Please sign in to comment.