Class wink.ui.xy.DatePicker
Implement a datepicker. Displays a calendar. The user can select a date by clicking on a day.
- Defined in: datepicker.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
| Compatibility list | Supported platforms / browsers |
|---|---|
|
iOS2, iOS3, iOS4, iOS5, iOS6, Android 1.1, Android 1.5, Android 2.1, Android 2.2, Android 2.3, Android 3.0, Android 3.1, Android 4.0, BlackBerry 6, BlackBerry 7, Bada 1.0, Windows Phone 7.5, Windows Phone 8
|
Method Summary
Class Detail
wink.ui.xy.DatePicker()
datepicker = new wink.ui.xy.DatePicker(); datepicker.show();
- See:
- Test page
Field Detail
{integer}
uId
Unique identifier
Method Detail
-
hide()Hide the DatePicker
-
show()Display the DatePicker
-
updatePosition()Update the position of the date picker and places it at the center of the page
Event Detail
/datepicker/events/pickdate
The user clicked on a date
- Parameters:
- {object} param
- The parameters object
- {date} param.date
- The date currently selected