custom/plugins/MoorlFoundation/src/Resources/views/storefront/element/cms-element-image-slider.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/element/cms-element-image-slider.html.twig" %}
  2. {% block element_image_slider_alignment %}
  3.     {% if sliderConfig.enableFeature.value %}
  4.         {% set baseSliderOptions = {
  5.             slider: {
  6.                 navPosition: 'bottom',
  7.                 speed: sliderConfig.speed.value ?: 400,
  8.                 nav: sliderConfig.navigationDots.value ? true : false,
  9.                 controls: sliderConfig.navigationArrows.value ? true : false,
  10.                 autoHeight: (sliderConfig.displayMode.value == "standard") ? true : false,
  11.                 autoplay: sliderConfig.autoplay.value ? true : false,
  12.                 autoplayHoverPause: sliderConfig.autoplayHoverPause.value ? true : false,
  13.                 autoplayTimeout: sliderConfig.autoplayTimeout.value ?: 3500,
  14.                 autoplayButtonOutput: false,
  15.                 swipeAngle: false,
  16.                 mode: "gallery",
  17.                 animateIn: sliderConfig.animateIn.value ?: null,
  18.                 animateOut: sliderConfig.animateOut.value ?: null,
  19.             }
  20.         } %}
  21.     {% endif %}
  22.     {{ parent() }}
  23. {% endblock %}