minor changes

This commit is contained in:
Vasavi Kanamarlapudi 2024-07-19 18:04:50 +05:30
parent 99fe7e22ac
commit 7c431974ac

View File

@ -56,7 +56,7 @@ open class Carousel: View {
case left, center, right
}
/// Space between each tile. The default value will be 24px (6X) in tablet and 12px (3X) in mobile.
/// Space between each tile. The default value will be 6X in tablet and 3X in mobile.
public enum Gutter: String, CaseIterable , DefaultValuing {
case gutter3X = "3X"
case gutter6X = "6X"
@ -79,7 +79,7 @@ open class Carousel: View {
/// views used to render view in the carousel slots.
open var views: [UIView] = [] { didSet { setNeedsUpdate() } }
/// Space between each tile. The default value will be 24px (6X) in tablet and 12px (3X) in mobile.
/// Space between each tile. The default value will be 6X in tablet and 3X in mobile.
open var gutter: Gutter = Gutter.defaultValue { didSet { setNeedsUpdate() } }
/// The amount of slides visible in the carousel container at one time.
@ -112,7 +112,7 @@ open class Carousel: View {
open var paginationDisplay: PaginationDisplay = .none { didSet {setNeedsUpdate() } }
/// If provided, will apply margin to pagination arrows. Can be set to either positive or negative values.
/// The default value will be 12px in tablet and 8px in mobile. These values are the default in order to avoid overlapping content within the carousel.
/// The default value will be 3X in tablet and 2X in mobile. These values are the default in order to avoid overlapping content within the carousel.
open var paginationInset: CGFloat = UIDevice.isIPad ? VDSLayout.space3X : VDSLayout.space2X { didSet { updatePaginationInset() } }
/// Options for user to configure the partially-visible tile in group.