Siblings

Siblings are links to the next and previous page, usually rendered at the beginning and the end of the pagination control. You can choose to hide them by setting hide_siblings parameter to true. If you want to show them, but with custom labels, you can set next_label and previous_label parameters to the desired values.

{%- call ui.util.call(show_example) -%} {%- raw %} {{ ui.pagination(page=5, total=10, hide_siblings=true) }} {{ ui.pagination( page=5, total=10, hide_siblings=false, next_label="Next", previous_label="Prev") }} {%- endraw %} {%- endcall %}