CalendarPicker
Properties
initialSelectedDateMs
required
number
The initially selected date in the calendar, specified as milliseconds since the unix epoch (1/1/1970). You may use Date.prototype.getDate()
to get this number from a Date
object.
onChangeSelectedDateMs
required
Function(dateMs: number) => void
Callback for when the user selects a new date. The function will be invoked with a single argument: the new selected date in milliseconds.