Skip to content

feat: adding slides configuration in carousel#2245

Open
DiljohnSingh wants to merge 2 commits into
mendix:mainfrom
DiljohnSingh:feat/Carousel-slides-props
Open

feat: adding slides configuration in carousel#2245
DiljohnSingh wants to merge 2 commits into
mendix:mainfrom
DiljohnSingh:feat/Carousel-slides-props

Conversation

@DiljohnSingh

Copy link
Copy Markdown
Contributor

Pull request type

New feature (non-breaking change which adds functionality)


Description

  • Currently slidesPerView is hardcoded to be 1 and not a configurable prop.
  • Some of the siemens projects using Mendix had to create custom widgets to display more than one slide into view.
  • Adding two new slide configs/props. (slidesPerView & slidesPerGroup).
  • Default value is still set to 1 to follow default behavior.
  • Added useMemo for carouselItems.

What should be covered while testing?

  • You should see two new configs(slidesPerView & slidesPerGroup).
  • Play around with configs to see the changes into slides.

@DiljohnSingh DiljohnSingh requested a review from a team as a code owner June 3, 2026 08:44
@DiljohnSingh DiljohnSingh changed the title feat: adding slides configuration feat: adding slides configuration in carousel Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant