Skip to content
category-carousel-block / 0.1.1-arc-themes-release-version-2.0.2.4523

category-carousel-block 0.1.1-arc-themes-release-version-2.0.2.4523

Install from the command line:
Learn more about npm packages
$ npm install @wpmedia/category-carousel-block@0.1.1-arc-themes-release-version-2.0.2.4523
Install via package.json:
"@wpmedia/category-carousel-block": "0.1.1-arc-themes-release-version-2.0.2.4523"

About this version

@wpmedia/category-carousel-block

A user configurable carousel block with a minimum of 4 and a maximum of 12 slides.

Props

Prop Required Type Description
customFields yes PropTypes.shape Pagebuilder Custom Fields

customFields

Prop Required Type Description
headerText no PropTypes.string Carousel Header text
imageUrl_[0-11] yes* PropTypes.string Slide image url.
label_[0-11] yes* PropTypes.string Slide label.
linkUrl_[0-11] yes* PropTypes.string Slide link url.
  • First four are required. Each slide index must include all three to be considered valid.

ANS Schema

N/A

ANS Fields

N/A

Internationalization fields

Phrase key Default (English)
category-carousel.aria-label Categories
category-carousel.right-arrow-label Next
category-carousel.left-arrow-label Previous
category-carousel.slide-indicator Slide %{current} of %{maximum}

Events

N/A

Event Listening

This block does not emit any events.