Skip to content

Commit

Permalink
doc updates
Browse files Browse the repository at this point in the history
  • Loading branch information
rniemeyer committed Sep 17, 2014
1 parent 544fd0a commit 7032e20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ When a module is swapped out, you can specify a custom function name to call to

#### afterRender

The `afterRender` function will be passed on to the template binding, if specified.
The `afterRender` function is passed on to the template binding. If a string is specified, then it will be used to find a method on the module itself. Otherwise, if a function reference is passed, then it will be used directly.

```html
<div data-bind="module: { name: 'my_module', afterRender: 'afterRender' }"></div>
Expand Down

0 comments on commit 7032e20

Please sign in to comment.