Question

Do I need to specify oneWay binding for contentBinding in ArrayController?

For example:

App.PeopleCollectionView = Ember.CollectionView.create({
  contentBinding: Ember.Binding.oneWay('App.peopleController.content')
});
Was it helpful?

Solution

Yes, you can specify a one-way binding in this case for a small performance increase, provided you will not be manipulating the content property of your people collection view.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top