ember.js是否存在分页混合? [英] Does a pagination mixin exist for ember.js yet?
问题描述
如果这不存在,拉动请求欢迎围绕这一具体行为?这是我的猜测,90%的应用程序需要简单的分页/排序,并且内置了一个mixin可以删除几乎60多行代码。
提前谢谢
更新
我回覆了另一个ember / pagination问题和我的以下可以找到完整的(工作示例)
这是一个我使用过的简单的例子: https://gist.github.com/1559628
这是由其中一个顶级的捐助者。
I've been writing my own pagination logic that would be similar to the Ember.SortableMixin but with support for paging. Does anything like this exist yet in the pre 1.0 build?
If this doesn't exist is a pull request welcome around this specific behavior? It's my guess that 90% of apps out there need simple pagination/sorting and having a mixin built in would cut out almost 60+ lines of code.
Thank you in advance
Update
I replied to another "ember/ pagination" question and my full blown (working example) can be found at the below
Here's a simple one that I've used: https://gist.github.com/1559628
It's by one of the top ember contributors.
这篇关于ember.js是否存在分页混合?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!