A date picker component for a single datetime.
Instantiates and returns a date picker.
The date picker view. Simply pass it the configured settings and the date picker instance you wish to view.
Events external to the picker to which it is subscribed.
The type facilitating the configuration of the datepicker settings.
A record of default settings for the date picker. Extend this if you want to further customize the date picker.
Requires a MsgConfig msg record to set the date picker's internal and external msg indicators
{ internalMsg : DatePicker -> msg
, externalMsg : Posix -> msg
}Open the provided date picker and receive the updated picker instance. Also takes a default time the picker should center on (in the event a time has not yet been picked) as well as the picked time. A common example of a default time would be the datetime for the current day.
Close the provided date picker and receive the updated picker instance.
The opaque type representing a particular date picker instance.