Skip to content

Commit e55c874

Browse files
committed
readme. provide a more clear description.
1 parent 1bcd998 commit e55c874

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ DateTimeField
3434
| **dateTime** | string | moment().format('x') | Represents the inital dateTime, this string is then parsed by moment.js |
3535
| **format** | string | "x" | Defines the format moment.js should use to parse and output the date to onChange |
3636
| **inputFormat** | string | "MM/DD/YY h:mm A" | Defines the way the date is represented in the HTML input |
37-
| **onChange** | function | x => console.log(x) | Callback trigger when the date changes returning new datetime |
37+
| **onChange** | function | x => console.log(x) | Callback trigger when the date changes. `x` is the new datetime value. |
3838
| **showToday** | boolean | true | Highlights today's date |
3939
| **daysOfWeekDisabled** | array of integer | [] | Disables clicking on some days. Goes from 0 (Sunday) to 6 (Saturday). |
4040
| **viewMode** | string or number | 'days' | The default view to display when the picker is shown. ('years', 'months', 'days') |

0 commit comments

Comments
 (0)