Multiline statement with (hash) helper

342 Views Asked by At

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?

0

There are 0 best solutions below