Quantcast
Channel: Ember.JS - Latest topics
Viewing all articles
Browse latest Browse all 4828

Yield multiple dynamic params

$
0
0

@CezaryH wrote:

Hey, I wonder if there’s a way to yield multiple dynamic params from component.

I imagine that would work like that:

{
  arrayData: [1,2]
}

{{#test-component data=arrayData as |one two|}}
  {{one}} //prints one
  {{two}} //prints two
{{/test-component}}

Any ideas how to achieve something like that?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles