Skip to content

Commit

Permalink
[DOC release] fn helper has no value param
Browse files Browse the repository at this point in the history
the `mut` helper docstring has an example using the `fn` helper with
`value` param, but `fn` has no `value` param.

looks like a small oversight updating the docs away from `action`.
  • Loading branch information
aaxelb committed Feb 28, 2020
1 parent d574096 commit 04313dc
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions packages/@ember/-internals/glimmer/lib/helpers/mut.ts
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,6 @@ import { Tag } from '@glimmer/validator';
</button>
```
You can also use the `value` option:
```handlebars
<input value={{name}} oninput={{fn (mut name) value="target.value"}}>
```
@method mut
@param {Object} [attr] the "two-way" attribute that can be modified.
@for Ember.Templates.helpers
Expand Down

0 comments on commit 04313dc

Please sign in to comment.