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`.

(cherry picked from commit 04313dc)
  • Loading branch information
aaxelb authored and kategengler committed Mar 3, 2020
1 parent 95430d1 commit d80923d
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 d80923d

Please sign in to comment.