2

Since Ember launched component block params and contextual components you can pass multiple components back to the context for more control.

In handlebars you can write this inside your component template:

{{yield (hash
  header=(component modal-header)
  footer=(component modal-footer)
)}}

However when I try to achieve this in Emblem nothing seems to work. I've tried using [ and ] but this doesn't seem to work in combination with the hash helper.

Can anyone help about the right syntax in this case?

Danny Hiemstra
  • 1,188
  • 1
  • 9
  • 13
  • 1
    My suggestion is to not use Emblem ;X Since it's not a project managed by the Ember team it has a tendency to fall behind on features. – locks Jul 25 '16 at 13:32

0 Answers0