Skip to content

Latest commit

 

History

History
32 lines (16 loc) · 423 Bytes

README.md

File metadata and controls

32 lines (16 loc) · 423 Bytes

About

Paginaor module for compoundJS

How use

config/environment.coffee

    ----------------coffee----------------

    module.exports = (compound) ->

    ...

      paginator = require 'compound-paginator'

    ...

      app.configure ->

    ...

        paginator.init compound

    ...

Past in view

<%- paginator( reportsCount ) %>

reportsCount - total count elements