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
|
///Next button to select next page
|
||||||
public let nextButton: PaginationButton = .init(type: .next)
|
public let nextButton: PaginationButton = .init(type: .next)
|
||||||
/// A callback when the page changes. Passes parameters (selectedPage).
|
/// 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.
|
/// Total number of pages, allows limit ranging from 0 to 9999.
|
||||||
@Clamping(range: 0...9999)
|
@Clamping(range: 0...9999)
|
||||||
public var total: Int {
|
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.
|
///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 {
|
set {
|
||||||
if newValue >= total {
|
if newValue >= total {
|
||||||
_selectedPageIndex = total - 1
|
_selectedPageIndex = total - 1
|
||||||
|
|||||||
@ -288,7 +288,6 @@ open class TitleLockup: View {
|
|||||||
subTitleModel = nil
|
subTitleModel = nil
|
||||||
}
|
}
|
||||||
|
|
||||||
var labelViews = [UIView]()
|
|
||||||
/// Used to make changes to the View based off a change events or from local properties.
|
/// Used to make changes to the View based off a change events or from local properties.
|
||||||
open override func updateView() {
|
open override func updateView() {
|
||||||
super.updateView()
|
super.updateView()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user