jeudi 18 février 2016

Loop through passed-in parameter in JS instead of template

A parent component passes an array into a child component. I need to loop through that array in the component's JS file, rather than its template.

I know I can access the parameter using this.get('parameter'), but in JS it doesn't behave like an array.

Any help will be greatly appreciated!




Aucun commentaire:

Enregistrer un commentaire