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

Helper with array observer

$
0
0

@cgallo wrote:

I am trying to create a helper that is observing an array. When the array changes, I want the helper to reevaluate. I am using the helper in a checkbox input that is created as part of an #each structure. The helper determines the value of checked.

I can’t figure out how to set up the array observer correctly. Here is an Ember Twiddle with a simplification of what I have done.

https://ember-twiddle.com/20c0dba6220858b8395e0a462bd9fb9a?numColumns=2&openFiles=controllers.application.js%2Ctemplates.application.hbs

Thanks for taking a look.

Chris

Posts: 4

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4828

Trending Articles