more updaets for setDefaults
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
bbf521b1e5
commit
67bdcf5104
@ -57,7 +57,7 @@ open class Pagination: View {
|
||||
///Next button to select next page
|
||||
public let nextButton: PaginationButton = .init(type: .next)
|
||||
/// A callback when the page changes. Passes parameters (selectedPage).
|
||||
public var onPageDidSelect: ((Int) -> Void)?
|
||||
open var onPageDidSelect: ((Int) -> Void)?
|
||||
/// Total number of pages, allows limit ranging from 0 to 9999.
|
||||
@Clamping(range: 0...9999)
|
||||
public var total: Int {
|
||||
@ -70,7 +70,7 @@ open class Pagination: View {
|
||||
}
|
||||
}
|
||||
///Selected active page number and clips to total pages if selected index is greater than the total pages.
|
||||
public var selectedPage: Int {
|
||||
open var selectedPage: Int {
|
||||
set {
|
||||
if newValue >= total {
|
||||
_selectedPageIndex = total - 1
|
||||
|
||||
@ -288,7 +288,6 @@ open class TitleLockup: View {
|
||||
subTitleModel = nil
|
||||
}
|
||||
|
||||
var labelViews = [UIView]()
|
||||
/// Used to make changes to the View based off a change events or from local properties.
|
||||
open override func updateView() {
|
||||
super.updateView()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user