Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Documentation] Glimmer component docs #19531

Closed
chrisgame opened this issue May 5, 2021 · 1 comment
Closed

[Documentation] Glimmer component docs #19531

chrisgame opened this issue May 5, 2021 · 1 comment

Comments

@chrisgame
Copy link
Contributor

📙 Describe the Issue

In the section on passing parameters to named blocks an example is shown as {{yield to="title" @person.name}} this gives an error.
to="title" needs to be the last argument passed to yield.

🔬 Minimal Reproduction

Visit https://api.emberjs.com/ember/release/modules/@glimmer%2Fcomponent and scroll to the "Passing parameters to named blocks" section to see the examples

😕 Actual Behavior

The example is shown as {{yield to="title" @person.name}}

🤔 Expected Behavior

The example should be {{yield @person.name to="title"}}

➕ Additional Context

PR to fix here #19530

@MelSumner
Copy link
Contributor

Closed with PR #19530

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants