dsfr4drupal-1.x-dev/components/pagination-mini/pagination-mini.component.yml
components/pagination-mini/pagination-mini.component.yml
name: DSFR - Pagination (mini)
description: Pagination allows the user to navigate between different pages of a list of items.
status: stable
group: DSFR
props:
properties:
aria_label:
type: string
title: Pagination "aria-label" attribute
description: 'By default: "Pagination", or the translated string in another language.'
attributes:
type: Drupal\Core\Template\Attribute
title: Attributes
current:
type: integer
title: Current page
description: 'The current page number'
current_attributes:
type: Drupal\Core\Template\Attribute
title: Current item attributes
current_title:
type: string
title: Current item title attribute
description: 'By default: "Current page", or the translated string in another language.'
items:
type: object
title: Items
description: Drupal pager items.
next_label:
type: string
title: Next page item label
description: 'By default: "Next page", or the translated string in another language.'
next_title:
type: string
title: Next page item title attribute
description: 'By default: "Go to next page", or the translated string in another language.'
previous_label:
type: string
title: Previous page item label
description: 'By default: "Previous page", or the translated string in another language.'
previous_title:
type: string
title: Previous page item title attribute
description: 'By default: "Go to previous page", or the translated string in another language.'
previous_next_displayed_lg:
type: boolean
title: 'Show the "Previous page" and "Next page" buttons from the LG breakpoint?'
default: false
previous_next_has_lg_label:
type: boolean
title: 'Display the labels of the "Previous page" and "Next page" buttons from the LG breakpoint?'
default: true
required:
- items
libraryOverrides:
dependencies:
- dsfr4drupal/component.pagination
