OrionCarousel
<o-carousel>
a pour but d'être un moyen très simple d'afficher un composant de type carrousel de présentation.
Il propose plusieurs options de personnalisation comme le défilement automatique, la mise en pause lors du survol ainsi que différents slots pour en gérer le contenu.
Usage
CarouselSimpleSlider CarouselAutoSlider CarouselPoster CarouselPlayground
Orion Carousel
Props
Name
color
Orion.Color | Orion.ColorAlt = 'brand'
hideNavigationButtons
boolean = false
hideNavigationDots
boolean = false
loop
boolean = false
modelValue
number | string = undefined
pauseOnHover
boolean = false
stepTimer
number = undefined
Events
Name
Payload type
update:modelValue
number | string
Slots
Name
Bindings
poster
step:
number | string | undefined
stepIndex:
number
default
step:
number | string | undefined
stepIndex:
number
goPreviousStep:
() => void
goNextStep:
() => void
navigation
step:
number | string | undefined
stepIndex:
number
goPreviousStep:
() => void
goNextStep:
() => void
actions
step:
number | string | undefined
stepIndex:
number
goPreviousStep:
() => void
goNextStep:
() => void
goToStep:
(step: { name: number | string }) => void
goToStepIndex:
(index: number) => void
PublicInstance
Name
Type
step
() => string | number | undefined
stepsLength
() => number
stepIndex
() => number
shouldLoop
() => boolean
goToStep
(step: {
name: string | number;
uid: number;
}) => void
goToStepIndex
(index: number) => void
goPreviousStep
() => void
goNextStep
() => void
_el
(() => HTMLElement | undefined) | undefined
Provide
Name
Type
_carousel
publicInstance
Orion Carousel Item
Props
Name
lazy
boolean = false
lazyOnce
boolean = false
name
number | string = undefined
Required
Slots
Name
Bindings
default
isActive:
boolean