From c3b61b86e2268533f23f22b1304ca453769f3841 Mon Sep 17 00:00:00 2001 From: Doug Yun Date: Fri, 7 Aug 2015 10:46:29 -0400 Subject: [PATCH] [DOC release] Ember.HTMLBars.unbound Closes #11989 [ci skip] --- .../ember-htmlbars/lib/keywords/unbound.js | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/packages/ember-htmlbars/lib/keywords/unbound.js b/packages/ember-htmlbars/lib/keywords/unbound.js index dc7b454fa2e..40d74ad2130 100644 --- a/packages/ember-htmlbars/lib/keywords/unbound.js +++ b/packages/ember-htmlbars/lib/keywords/unbound.js @@ -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) {