gets the currently selected date
first | boolean | optional: returns the first selected date (context: daterangepicker) |
Date | a Date object that represents the current selected date |
webix.ui({
view:"calendar",
id:"calendar1"
});
$$('calendar1').selectDate(new Date(2012,3,30));
$$("calendar1").getSelectedDate(); // -> Mon Apr 30 2012 00:00:00 GMT+0300 (EEST)
The method is analogous to getValue.