https://github.com/sebagomez/windows-phone-winjs-datepicker
Tired of not having a DatePicker for WinPhone WinJS apps I decided to go ahead and create one.
https://github.com/sebagomez/windows-phone-winjs-datepicker
datepicker javascript windows-phone
Last synced: 2 months ago
JSON representation
Tired of not having a DatePicker for WinPhone WinJS apps I decided to go ahead and create one.
- Host: GitHub
- URL: https://github.com/sebagomez/windows-phone-winjs-datepicker
- Owner: sebagomez
- Created: 2014-12-03T20:37:26.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-12-07T15:10:15.000Z (over 10 years ago)
- Last Synced: 2024-10-29T16:21:41.754Z (7 months ago)
- Topics: datepicker, javascript, windows-phone
- Language: JavaScript
- Homepage:
- Size: 332 KB
- Stars: 2
- Watchers: 5
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Windows Phone WinJS DatePicker
==============================For some unknown (by me) reason [WinJS.UI.DatePicker](http://msdn.microsoft.com/en-us/library/windows/apps/br211681.aspx) is only available for Windows Store apps, not Windows Phone. (the control is also available for XAML apps).
The suggestion is have an [input element](http://www.w3.org/wiki/HTML/Elements/input/date), which I believe is awful. I also googled around for a cool Date picker but of course there are tons of controls for JavaScript but most of them are not touch oriented, and frankly the touch oriented controls I found were not very Windows Phone-like.
So I decided to create my own DateTime picker.It's a very simple control which basically adds a `select` for every "part" of the date. Which means one for the day, one for the month, and one for the year.

This does not pretend to be a full featured control, it just meet my own needs, but I'll be glad to take pull request if you feel like contributing.