Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Sources/FSPagerView.swift
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,13 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega
}
}

/// A Boolean value indicates that whether the pager view allowsSelection
@objc
open var allowsSelection: Bool {
set { self.collectionView.allowsSelection = newValue }
get { return self.collectionView.allowsSelection }
}

/// The time interval of automatic sliding. 0 means disabling automatic sliding. Default is 0.
@IBInspectable
open var automaticSlidingInterval: CGFloat = 0.0 {
Expand Down