new NumberPagination()
Example
let numPag = new NumberPagination({count:50});
let box = new Box();
box.append(numPag);
Extends
- Box
Methods
-
refresh()
-
Atualiza visualmente o componente exibindo as configurações que foram modificadas.
-
setCount(visiblePages)
-
Informa o número total de registros.
Parameters:
Name Type Description visiblePagesnumber Returns:
- Type
- NumberPagination
-
setPage(visiblePages)
-
Informa a página atual.
Parameters:
Name Type Description visiblePagesnumber Returns:
- Type
- NumberPagination
-
setRowsPerPage(rowsPerPage)
-
Informa o número de registros por página.
Parameters:
Name Type Description rowsPerPagenumber Returns:
- Type
- NumberPagination
-
setVisiblePages(visiblePages)
-
Informa o número de páginas visíveis.
Parameters:
Name Type Description visiblePagesnumber Returns:
- Type
- NumberPagination
