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

Support for ember-named-blocks-polyfill #32

Open
candunaj opened this issue Nov 9, 2020 · 1 comment
Open

Support for ember-named-blocks-polyfill #32

candunaj opened this issue Nov 9, 2020 · 1 comment
Labels
enhancement New feature or request

Comments

@candunaj
Copy link

candunaj commented Nov 9, 2020

Hi, is there any plan for support ember-named-blocks-polyfill?

@lifeart
Copy link
Owner

lifeart commented Nov 9, 2020

Hi @candunaj! Yes, it's possible to implement

<Component>
    <:header as |name|>
      {{name}}
    </header>
</Component>

should work with transform like

class Component {
    headerYieldBody(params) {
      return params;
    }
}

https://github.com/lifeart/els-addon-typed-templates/pull/26/files#diff-429c6456190981930798514ee153566a2c1edd3cee81b5f851ceb6cee935d76eR364

I will check scope for it

@lifeart lifeart added the enhancement New feature or request label Nov 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants