Problem/Motivation

Include very frequently used slider options:

  1. Centered slides: Active slide will be centered, not always on the left side.
  2. Initial slide: Number of initial slide, selected slide number will be always visible on page load & with previous items scrolled left.
  3. 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.

Issue fork vlsuite-3469858

Command icon 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

crzdev created an issue. See original summary.

crzdev’s picture

StatusFileSize
new61.89 KB

New options ready to check!

crzdev’s picture

Status: Active » Needs review
omarlopesino’s picture

Status: Needs review » Reviewed & tested by the community

I've reviewed the code and viewing the official Swiper documentation, it looks good to me!

crzdev’s picture

Great, thanks!

  • crzdev committed 53c7041f on 1.1.x
    Issue #3469858 by crzdev, omarlopesino: Slider add "centered slides", "...
crzdev’s picture

Status: Reviewed & tested by the community » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.