d-endless
v0.1.1
Published
Infinite scrolling component for DerbyJS using filters
Downloads
1
Readme
d-endless
Infinite scrolling component for DerbyJS using filters
Install
app.component(require('d-endless'));
Usage
Component
Component.prototype.init = function(model) {
this.filter = model.root.filter('collection', {limit: 25}, null);
model.ref('data', this.filter);
};
View
<view is="d-endless" filterPath="app.page.component.filter" elementId="div-wrapper" stepSize="25></view>