Ember render template using yield

人盡茶涼 提交于 2019-12-24 21:22:57

问题


I am trying to implement

{{#my-custom-component}}
    {{my-other-component field=(some-section someSection "PARAM_1" "PARAM_2") onChangeField=(action 'enable' "PARAM_3")}}
{{/my-custom-component}}

So I want to display/render my-other-component inside my-custom-component. So I'll have a {{yield}} inside my-custom-component.

Currently with the above, I am getting

RangeError: Maximum call stack size exceeded

I suspect I am not passing the params properly.

来源:https://stackoverflow.com/questions/45462699/ember-render-template-using-yield

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!