Problem/Motivation
Include very frequently used slider options:
- Centered slides: Active slide will be centered, not always on the left side.
- Initial slide: Number of initial slide, selected slide number will be always visible on page load & with previous items scrolled left.
- Loop: Make slider infinite repeating first item at the end & adding latest items to left when centered slides is also used.
*Additional options can be included in future iterations.
Steps to reproduce
Configure section and/or field block with multiple cardinallity to configure new additional options.
Proposed resolution
Add options & include into JS logic (swiperjs).
User interface changes
New described options.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | vlsuite-slider-new-options-included.png | 61.89 KB | crzdev |
| vlsuite-slider-new-options.png | 58.04 KB | crzdev |
Issue fork vlsuite-3469858
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
crzdev commentedNew options ready to check!
Comment #4
crzdev commentedComment #5
omarlopesinoI've reviewed the code and viewing the official Swiper documentation, it looks good to me!
Comment #6
crzdev commentedGreat, thanks!
Comment #8
crzdev commented