CarouselOptions

public struct CarouselOptions

Options to modify the behavior of the Carousel

  • Initializer

    Declaration

    Swift

    public init(itemSpacing: CGFloat, carouselHeight: CGFloat? = nil, alignment: VerticalAlignment)

    Parameters

    itemSpacing

    Spacing between the Carousel child views

    carouselHeight

    Height of the carousel

    alignment

    Vertical Alignment of the Carousel child views