Ember.js component multiple yields
Ember components how to pass multiple contents to a components using yield
When you create a component sometimes you need to passes multiple contents to the component to use in different places , for that we can use multiple yields, let say we have a component called Card
and we use the component as follow
{{!-- templates/application.hbs --}}
<Card @image="http://myimage.link" >
<:title>
My card title
</:title>
<:description>
My card description
</:description>
</Card>