当您在 ArrayController 中有大量对象时,有时您可以在切换到该视图时看到列表逐渐在页面上构建。
有没有办法只在列表构建后显示视图,以避免闪烁的界面?
Is there a way to only show the view after the list has been built, in order to avoid a flickering interface?
It sounds like what you need is Ember.ListView - it improves performance for very large collections by rendering just enough rows to fill the visible area.
{{#collection Ember.ListView contentBinding="controller" height=500 rowHeight=50}}
<!-- row content here -->
{{/collection}}