onSelectedChange
Function
(dateString) => null
Gets called when selected value changes
onMonthYearChange
Function
(dateString) => null
Gets called when month changes
onTimeChange
Function
(dateString) => null
Gets called when time changes
onDateChange
Function
(dateString) => null
Gets called when date changes
current
String
Date()
Initially visible month
selected
String
""
The primary value of the date picker
minimumDate
String
""
Specifies the minimum selectable day by user
maximumDate
String
""
Specifies the maximum selectable day by user
selectorStartingYear
Number
0
The minimum selectable year when user opens the year selector
selectorEndingYear
Number
3000
The maxium selectable year when user opens the year selector
disableDateChange
Boolean
false
Disable month & year from being changed
isGregorian
Boolean
true
Switches between 'Gregorian' & 'Jalaali' mode
options
Object
{}
Customizing date picker style. backgroundColor,
textHeaderColor,
textDefaultColor,
selectedTextColor,
mainColor,
textSecondaryColor,
borderColor,
defaultFont,
headerFont,
textFontSize,
textHeaderFontSize,
headerAnimationDistance,
daysAnimationDistance
mode
String
"datepicker"
One of ['datepicker', 'calendar', 'monthYear', 'time']
minuteInterval
Number
5
One of [1, 2, 3, 4, 5, 6, 10, 12, 15, 20, 30, 60]
style
Object
{}
Changes date picker container style.