CarouselView
On this page
Basic example
View.CarouselView([
View.Label("First CarouselView")
View.Label("Second CarouselView")
View.Label("Third CarouselView")
])
Basic example with styling
View.CarouselView(
horizontalOptions = style.Position,
verticalOptions = style.Position,
backgroundColor = style.LayoutColor,
items = [
View.Label(
horizontalOptions = style.Position,
verticalOptions = style.Position,
backgroundColor = style.ViewColor,
padding = style.Padding,
text = "First CarouselView"
)
View.Label(
horizontalOptions = style.Position,
verticalOptions = style.Position,
backgroundColor = style.ViewColor2,
padding = style.Padding,
text = "Second CarouselView"
)
View.Label(
horizontalOptions = style.Position,
verticalOptions = style.Position,
backgroundColor = style.ViewColor3,
padding = style.Padding,
text = "Third CarouselView"
)
]
)
See also: