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

Using array indices in Ember template

$
0
0

@Ben_Glancy wrote:

Hi,

If I have an array in my controller/component like myarray:["ben","beng", "benglancy"]

In my template can I access the third element of this array directly?

And similarly if I have a recordarray can I access a particular one to access to fields in the model (element) in the template or do I have to create a computedproperty to filter/find it.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4834

Trending Articles