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 @@ -191,6 +191,13 @@ open class FSPagerView: UIView,UICollectionViewDataSource,UICollectionViewDelega
self.collectionViewLayout.forceInvalidate()
}
}

/// Whether or not the pager clipsToBounds/masksToBounds. Set to false if you want the cells to be able to bleed outside the collection view. The default is true.
open var collectionViewClipsToBounds: Bool = true {
didSet {
self.collectionView.clipsToBounds = self.collectionViewClipsToBounds
}
}

// MARK: - Public readonly-properties

Expand Down