How to use tui-pagination - 1 common examples

To help you get started, we’ve selected a few tui-pagination 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 nhn / tui.grid / src / view / pagination.tsx View on Github external
private createPagination() {
    const {
      pageOptions,
      paginationHolder,
      grid: { usageStatistics }
    } = this.props;
    const { totalCount, perPage, page } = pageOptions;
    const options = {
      totalItems: totalCount,
      itemsPerPage: perPage,
      page,
      usageStatistics
    };
    this.tuiPagination = new TuiPagination(this.el!, options);
    this.addEventListener();
    paginationHolder.setPagination(this.tuiPagination);
  }

tui-pagination

TOAST UI Components: Pagination

MIT
Latest version published 4 years ago

Package Health Score

51 / 100
Full package analysis

Popular tui-pagination functions