returns the current value of a DatePicker control
getValue(asDate?: boolean): string | Date;
Parameters:asDate: boolean
- defines whether a date will be returned as a Date object; false by defaultA string, or Date with the current value of the control.
Example
const value = form.getItem("datepicker").getValue();
// -> "03/06/19"
const value = form.getItem("datepicker").getValue(true);
// -> Mon Jun 03 2019 00:00:00 GMT+0300
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4