adwaita-swift/Sources/Adwaita/View/Carousel+.swift
david-swift 04c77831b5
Some checks are pending
Deploy Docs / publish (push) Waiting to run
SwiftLint / SwiftLint (push) Waiting to run
Remove Core library
2025-10-30 21:36:13 +01:00

18 lines
363 B
Swift

//
// Carousel+.swift
// Adwaita
//
// Created by david-swift on 18.01.24.
//
extension Carousel {
/// Set whether long swipes are allowed or not.
/// - Parameter longSwipes: Whether long swipes are allowed.
/// - Returns: The carousel.
public func longSwipes(_ longSwipes: Bool = true) -> Self {
allowLongSwipes(longSwipes)
}
}