DatePickerDayViewModel
class DatePickerDayViewModel
Undocumented
-
Undocumented
Declaration
Swift
init( datePickerDay: DatePickerDay, onTapOnDate: @escaping (Date) -> Void, isSelected: Bool = false, calendar: Calendar = .gregorian() )
-
Undocumented
Declaration
Swift
var isSelected: Bool { get set }
-
Undocumented
Declaration
Swift
let fontSize: CGFloat
-
Undocumented
Declaration
Swift
@Published var backgroundColor: UIColor { get set }
-
Undocumented
Declaration
Swift
@Published var textColor: UIColor { get set }
-
Undocumented
Declaration
Swift
@Published var fontWeight: String { get set }
-
Undocumented
Declaration
Swift
@Published var accessibilityTraits: UIAccessibilityTraits { get set }
-
Undocumented
Declaration
Swift
var dayString: String { get }
-
Undocumented
Declaration
Swift
var accessibilityLabel: String { get }
-
Undocumented
Declaration
Swift
var isSelectable: Bool { get }
-
Undocumented
Declaration
Swift
func onTap()
-
Undocumented
Declaration
Swift
func selectIfSameDate(date: Date)