Skip to content

Commit

Permalink
Merge pull request emberjs#12009 from duggiefresh/11989-doc-unbound
Browse files Browse the repository at this point in the history
[DOC release] Ember.HTMLBars.unbound
  • Loading branch information
mixonic committed Aug 7, 2015
2 parents d9c3a61 + c3b61b8 commit 3c4749a
Showing 1 changed file with 16 additions and 2 deletions.
18 changes: 16 additions & 2 deletions packages/ember-htmlbars/lib/keywords/unbound.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
import Ember from 'ember-metal/core'; // assert

/**
@module ember
@submodule ember-htmlbars
The `{{unbound}}` helper can be used with bound helper invocations to
render them in their unbound form.
```handlebars
{{unbound (capitalize name)}}
```
In the aforementioned example, if the `name` property changes, the helper
will not re-render.
@module ember
@submodule ember-templates
@method unbound
@for Ember.Templates.helpers
@public
*/

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

0 comments on commit 3c4749a

Please sign in to comment.