Interface IIgrCarouselProps

Hierarchy

Hierarchy

  • IIgrCarouselProps

Properties

animationType?: string | HorizontalTransitionAnimation

The animation type.

children?: ReactNode
className?: string
disableLoop?: string | boolean

Whether the carousel should skip rotating to the first slide after it reaches the last.

disablePauseOnInteraction?: string | boolean

Whether the carousel should ignore use interactions and not pause on them.

hideIndicators?: string | boolean

Whether the carousel should render the indicator controls (dots).

hideNavigation?: string | boolean

Whether the carousel should skip rendering of the default navigation buttons.

id?: string
indicatorsLabelFormat?: string

The format used to set the aria-label on the carousel indicators. Instances of '{0}' will be replaced with the index of the corresponding slide.

indicatorsOrientation?: string | CarouselIndicatorsOrientation

Sets the orientation of the indicator controls (dots).

interval?: string | number

The duration in milliseconds between changing the active slide.

maximumIndicatorsCount?: string | number

Controls the maximum indicator controls (dots) that can be shown. Default value is 10.

paused?: ((s, e) => void)

Type declaration

playing?: ((s, e) => void)

Type declaration

slideChanged?: ((s, e) => void)

Type declaration

slidesLabelFormat?: string

The format used to set the aria-label on the carousel slides and the text displayed when the number of indicators is greater than tha maximum indicator count. Instances of '{0}' will be replaced with the index of the corresponding slide. Instances of '{1}' will be replaced with the total amount of slides.

style?: CSSProperties
vertical?: string | boolean

Whether the carousel has vertical alignment.