An open API service indexing awesome lists of open source software.

https://github.com/sjohnsonaz/cascade-datasource

Array and Service Pagination powered by Cascade.
https://github.com/sjohnsonaz/cascade-datasource

array cascade datasource model mvvm observablearray pagination reactive service

Last synced: 6 months ago
JSON representation

Array and Service Pagination powered by Cascade.

Awesome Lists containing this project

README

          

# Cascade Datasource

[![Build Status](https://travis-ci.org/sjohnsonaz/cascade-datasource.svg?branch=master)](https://travis-ci.org/sjohnsonaz/cascade-datasource) [![npm version](https://badge.fury.io/js/cascade-datasource.svg)](https://badge.fury.io/js/cascade-datasource)

Array and Service Pagination powered by Cascade.

```` TypeScript
var dataSource = new DataSource((page, pageSize, sortedColumn, sortedDirection) => {
return DataSource.pageArray(dataArray, page, pageSize, sortedColumn, sortedDirection);
});
dataSource.init();
dataSource.page = 1;
````