Skip to content

PanagiotisGeorgiadis/Elm-DatePicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elm-DatePicker

Latest version of the package Latest Elm version supported Status of direct dependencies License of the package

A DateTime picker component built using Elm 0.19. Elm-DatePicker is a reusable date-time picker component that's focused on providing functionality and ease of use.

Dependencies

This package depends on the elm/time and elm-datetime packages. That basically means that all the date related functionality as well as the resulting dates that will be returned by the DatePicker component will be of DateTime type which is implemented in the elm-datetime package.

Install

elm install PanagiotisGeorgiadis/elm-datepicker

Examples

For screenshots of demo implementations head over to the screenshots folder

Example Repository

For usage examples you can check out the following links:

DatePicker

DateRangePicker

Note: In all of the examples the returned result from the DatePicker package will always be of DateTime type. If there is no TimePickerConfig defined, the time part of the selected DateTime will be set to midnight hours (00:00:00.000).

Styling

You can get the styles from this demo app or you can clone the repo and modify the styles as you wish.