You are here

views-view-jssor-row.html.twig in Jssor Slider 8

Default theme implementation to display an item in a Jssor views.

Available variables:

  • image: Slider image.
  • caption: Slider caption.
  • play_in_transition
  • play_out_transition

File

templates/views-view-jssor-row.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Default theme implementation to display an item in a Jssor views.
  5. *
  6. * Available variables:
  7. * - image: Slider image.
  8. * - caption: Slider caption.
  9. * - play_in_transition
  10. * - play_out_transition
  11. *
  12. * @see template_preprocess_views_view_jssor_row()
  13. *
  14. * @ingroup themeable
  15. */
  16. #}
  17. {{ image }}
  18. <div u="caption" t='{{ play_in_transition }}' t2='{{ play_out_transition }}' class="slider__caption">
  19. <div class="slider__caption--background">
  20. </div>
  21. <div class="slider__caption--title">
  22. {{ caption }}
  23. </div>
  24. </div>