Skip to content

Commit c3b61b8

Browse files
committed
[DOC release] Ember.HTMLBars.unbound
Closes emberjs#11989 [ci skip]
1 parent 62e3259 commit c3b61b8

1 file changed

Lines changed: 16 additions & 2 deletions

File tree

packages/ember-htmlbars/lib/keywords/unbound.js

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,22 @@
11
import Ember from 'ember-metal/core'; // assert
22

33
/**
4-
@module ember
5-
@submodule ember-htmlbars
4+
The `{{unbound}}` helper can be used with bound helper invocations to
5+
render them in their unbound form.
6+
7+
```handlebars
8+
{{unbound (capitalize name)}}
9+
```
10+
11+
In the aforementioned example, if the `name` property changes, the helper
12+
will not re-render.
13+
14+
@module ember
15+
@submodule ember-templates
16+
17+
@method unbound
18+
@for Ember.Templates.helpers
19+
@public
620
*/
721

822
export default function unbound(morph, env, scope, params, hash, template, inverse, visitor) {

0 commit comments

Comments
 (0)