Do i need to specify oneway binding for contentBinding in CollectionView
-
12-11-2019 - |
문제
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')
});
해결책
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.
제휴하지 않습니다 StackOverflow