View

public extension View
  • Passes the Carousel Options down from the environment

    Declaration

    Swift

    func carouselOptions(_ options: CarouselOptions) -> some View

    Parameters

    options

    CarouselOptions which modifies the behavior of the Carousel

  • Passes the Card Editing callback down from the environment

    Declaration

    Swift

    func onSceneEdit(perform action: @escaping (SceneEditing) -> Void) -> some View

    Parameters

    perform

    Returns a CardEditing with an associated value CodableCardItem that has been created, updated, or deleted