pagerer-scrollpane-button.html.twig in Pagerer 8.2
Same filename and directory in other branches
Default theme implementation to display a pagerer scrollpane button.
Available variables:
- scope: The scope of the button navigation (first/previous/next/last).
- title: The text for the title attribute (used to present help text to user when hovering with the mouse on the element.
- text: The text to be displayed within the button.
1 theme call to pagerer-scrollpane-button.html.twig
- Scrollpane::buildPagerItems in src/
Plugin/ pagerer/ Scrollpane.php - Return the pager render array.
File
templates/pagerer-scrollpane-button.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display a pagerer scrollpane button.
- *
- * Available variables:
- * - scope: The scope of the button navigation (first/previous/next/last).
- * - title: The text for the title attribute (used to present help text to
- * user when hovering with the mouse on the element.
- * - text: The text to be displayed within the button.
- *
- * @ingroup themeable
- */
- #}
- <div class='pagerer-scrollpane-button pagerer-{{ scope }}' title='{{ title }}'>{{- text -}}</div>