There is no doc on how to bind computed property for classNameBindings
.
classNameBindings: ['isChecked'],
isChecked: computed('selected', {
get() {
return this.get('selected').includes(this.get('row'));
}
}),
Code above does not trigger computed property.
Aucun commentaire:
Enregistrer un commentaire