0.1.1 • Published 9 years ago

d-endless v0.1.1

Weekly downloads
2
License
ISC
Repository
github
Last release
9 years ago

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>