Skip to content

Commit d80923d

Browse files
aaxelbkategengler
authored andcommitted
[DOC release] fn helper has no value param
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)
1 parent 95430d1 commit d80923d

File tree

1 file changed

+0
-6
lines changed
  • packages/@ember/-internals/glimmer/lib/helpers

1 file changed

+0
-6
lines changed

packages/@ember/-internals/glimmer/lib/helpers/mut.ts

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,6 @@ import { Tag } from '@glimmer/validator';
7575
</button>
7676
```
7777
78-
You can also use the `value` option:
79-
80-
```handlebars
81-
<input value={{name}} oninput={{fn (mut name) value="target.value"}}>
82-
```
83-
8478
@method mut
8579
@param {Object} [attr] the "two-way" attribute that can be modified.
8680
@for Ember.Templates.helpers

0 commit comments

Comments
 (0)