AngularJS component which implements a paginator for AngularJS Material.
This repository contains a component based on AngularJS and AngularJS Materials.
Install from the npm registry:
npm install fdz-paginator
You need declare the dependency on the fdzPaginatorModule:
angular.module('ExampleModule', ['ngMaterial', 'fdzPaginatorModule'])
Add the the fdz-pagination.css to your html file and change the fdzPaginatorTemplate.html to your needs.
-
options
This is the configuration object:options = { sortObject: { // Options for the sort md-select selected: 'Relevance', options: ['Relevance', 'Date'] }, pageObject : { // Options for the page handling options : [10, 20, 50], totalHits: 100, size: 20, page: 1 }
-
template-url
(Default:./fdzPaginatorTEmplate.html
) Override the template for the component with a custom provided template
npm run build
npm run start
npm run watch
npm run test