Would do something like
m.set('background-color', 'green') for m in @model.collection.where(selected: true)
and then maybe render the attribute somehow?
Is something like this possible?
m.$el.css('opacity', 1) for m in @model.collection.where(selected: true)
Ideally you should define a view and bind it to the change event from your model so that whenever a property is updated on the model, your view will update accordingly, e.g.: