Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Install
Works with Drupal: 7.xUsing Composer to manage Drupal site dependencies
Downloads
Download views_slideshow_swiper-7.x-2.0.tar.gztar.gz
18.76 KB
MD5: b34a762651634d26229e9150fa349158
SHA-1: 6140a1338fac39dc4d2d0e4bfc965e091e6670de
SHA-256: 37b11b83a1df2c73fd30c35a0de8e0e38a658120a338b43efc0b37aa27b7b28e
Download views_slideshow_swiper-7.x-2.0.zipzip
22.8 KB
MD5: a504ad7439b31d8847939b998dd137c3
SHA-1: b9ef7a61f850406dda1959256e77957a76d13f28
SHA-256: 456dc3173676eaeb914d8872f142e5a79369ddcb1a7e60183e32b3f73cd65aa3
Release notes
Enabled callback function parameters and connected Swiper and Slideshow JS events and callbacks.
- Changed JS constant values so they all reside under Drupal.settings.viewsSlideshowSwiperValues.
- Added JS code to instantiate callback function parameters with user-inputted function bodies.
- Added logic to merge user-defined callback functions with glue code that maps Swiper events to Slideshow callbacks.
- Added a central action dispatcher to map Slideshow events to Swiper callbacks.
- Added logic for parameters with special values (e.g. the integer parameter slidesPerView must also be able to equal 'auto').
- Added a validation function to the configuration form submission to remove settings that are their default value.
- Fixed logic in hook_requirements so the requirements severity levels are set appropriately.
- Fixed a few minor typos.
- Tested against Views Slideshow's default Text Controls, Field Pagers, and Slide Counter.