How to use the uikit.pagination function in uikit

To help you get started, we’ve selected a few uikit examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github polonel / trudesk / src / client / containers / Settings / Tickets / index.jsx View on Github external
componentDidMount () {
    this.getTicketTags(null, 0)
    const $tagPagination = $('#tagPagination')
    this.tagsPagination = UIKit.pagination($tagPagination, {
      items: this.props.tagsSettings.totalCount ? this.props.tagsSettings.totalCount : 0,
      itemsOnPage: 16
    })
    $tagPagination.on('select.uk.pagination', this.getTicketTags)
  }