Optional adaptiveThe component's height adjusts automatically according to the element's height.
Optional afterFunction to be called after slid change
current slide index
nothing
Optional autoplayEnables automatic slide transition
Optional autoplayTransition Speed
Optional beforeFunction to be called before slide change
slide index number
next slid index number
nothing
Optional centerSets centralized mode
Optional draggableAllows to drag slides
Optional id"Fills the ID of the element (not very practical)."
Example:
<View id="id" />
Optional infiniteEnables circular rotation of slides
Optional initialInitial slide number
Optional slidesNumber of slides to be changed
Optional slidesnumber of slides per page to show
Optional speedSets slide transition speed
Optional swipeEnables swipe
Optional swipeFunction to be called when a slide has changed
Direction of swipe
swipe event
nothing
Optional transform"Prepare a position transforming of element"
Example:
<View transform="rotate(45deg)" />
Optional transition"Prepare a transition of visual state change"
Example:
<View transition="background-color 0.5s ease-in-out" />
Optional variableSets the slide inner element width to adjust width
Optional visual"Determines the visual state of the component and its children."
Example:
<View visualState="success" />
Acceptable Carousel properties