Pagination

View code

Use





HTML

<rg-pagination></rg-pagination>

JavaScript

var tags = riot.mount('rg-pagination', {
  pagination: {
    pages: 10,
    page: 6
  }
})

tags[0].on('page', function (page) { ... })