Skip to content

Latest commit

 

History

History
21 lines (18 loc) · 460 Bytes

README.md

File metadata and controls

21 lines (18 loc) · 460 Bytes

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>