You are here

pagerer-slider.html.twig in Pagerer 8

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

Default theme implementation to display a pagerer slider.

Available variables:

  • id: The id attribute, used to link with the widget state in drupalSettings.
  • title: The text for the title attribute, used to present help text to user when hovering with the mouse on the element.

File

templates/pagerer-slider.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display a pagerer slider.
  5. *
  6. * Available variables:
  7. * - id: The id attribute, used to link with the widget state in
  8. * drupalSettings.
  9. * - title: The text for the title attribute, used to present help text to
  10. * user when hovering with the mouse on the element.
  11. *
  12. * @ingroup themeable
  13. */
  14. #}
  15. {{ attach_library('pagerer/slider') }}
  16. <div class='pagerer-slider' id="{{ id }}" title="{{ title }}" />