Disable PM Carousel if fewer item than declared in `group` parameter

Created on 17 December 2024, 1 day ago

Problem/Motivation

Currently if there are fewer items in a carousel than what is declared in the `group` variable in its settings, the carousel is still activated. I think it would be an interesting feature if we could deactivate the carousel in this specific case.

Proposed resolution

Add a condition in `pm-carousel.load.js` to provide for this case.

Feature request
Status

Active

Version

1.0

Component

Code

Created by

🇫🇷France funstenolf Bordeaux

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024