From 97d97828ea0749c2bd77d19d84c7670c5f0ef32c Mon Sep 17 00:00:00 2001 From: The Game Date: Wed, 5 May 2021 12:24:22 +0100 Subject: [PATCH] [DOC release] fix passing params to named blocks examples (cherry picked from commit e19e975913fc825e69f519acce9f781bcbdc670e) --- .../@ember/-internals/glimmer/lib/glimmer-component-docs.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts b/packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts index ec4399d774b..5be0786f4ea 100644 --- a/packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts +++ b/packages/@ember/-internals/glimmer/lib/glimmer-component-docs.ts @@ -163,7 +163,7 @@ You can also pass parameters to named blocks: ```app/templates/components/person-profile.hbs -

{{yield to="title" @person.name}}

+

{{yield @person.name to="title"}}

{{yield @person.signature}} ``` @@ -184,7 +184,7 @@ ```app/templates/components/person-profile.hbs

{{#if (has-block "title")}} - {{yield to="title" @person.name}} + {{yield @person.name to="title"}} {{else}} {{@person.name}} {{/if}}