View source: R/ds-pagination.R
| ds_pagination | R Documentation |
Create a pagination component for navigating through pages.
ds_pagination(
inputId,
current = 1,
total,
label = "Sidenavigasjon",
href = NULL,
...
)
inputId |
The input slot for Shiny reactivity |
current |
The current page number (1-indexed) |
total |
The total number of pages |
label |
Accessibility label for the pagination nav |
href |
Optional URL template for page links (use |
... |
Additional attributes |
A Shiny tag object
ds_pagination("mypage", current = 1, total = 10)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.