{# /** * @file * Default theme implementation to display a pagerer style. * * Available variables: * - heading_id: Pagination heading ID. * - style: The pagerer style being rendered. * - embedded: Flag to indicate if the pager is embedded (used by the * scrollpane style). * - items: List of pager items. * The list is keyed by the following elements: * - first: Item for the first page. * - previous: Item for the previous page. * - prefix: Text to be presented before the first page of results. * - pages: List of pages, separators, breakers, and pagerer widgets. * - suffix: Text to be presented after the last page of results. * - next: Item for the next page. * - last: Item for the last page. * Sub-sub elements: * items.first, items.previous, items.next, items.last, and each item inside * items.pages can contain the following elements: * - href: URL with appropriate query parameters for the item. * - attributes: A keyed list of HTML attributes for the item. * - text: The visible text used for the item link, such as "‹ Previous" * or "Next ›". * - title: The text for the title attribute, used to present help text to * user when hovering with the mouse on the element. * - reader_text: The text used for the item link by automated readers. * - is_current: Flag to indicate if the page displayed is the current in * the pager. * - is_separator: Flag to indicate if the item displayed is a separator. * - is_breaker: Flag to indicate if the item displayed is a breaker. * - widget: An item to be rendered as a widget. * * @ingroup themeable */ #} {{ attach_library('pagerer/base-claro.css') }} {% set classes = [ 'pager', 'pagerer-pager-' ~ style, embedded ? 'pagerer-scrollpane-embedded', ] %} {% if items %} {% endif %}