You are here

pagerer-scrollpane-button.html.twig in Pagerer 8

Same filename and directory in other branches
  1. 8.2 templates/pagerer-scrollpane-button.html.twig

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.

File

templates/pagerer-scrollpane-button.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a pagerer scrollpane button.
  5. *
  6. * Available variables:
  7. * - scope: The scope of the button navigation (first/previous/next/last).
  8. * - title: The text for the title attribute (used to present help text to
  9. * user when hovering with the mouse on the element.
  10. * - text: The text to be displayed within the button.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. <div class='pagerer-scrollpane-button pagerer-{{ scope }}' title='{{ title }}'>{{- text -}}</div>