getVisibleDate
gets visible date
Date getVisibleDate();
| Date | a Date object that represents the current visible date |
Example
webix.ui({
container:"box",
view:"calendar",
id:"calendar1"
});
$$("calendar1").getVisibleDate();
Details
The visible date takes its value according to this priority list:
- If some date is selected in the calendar - visible date == selected date
- If no date is selected, but the initial date is set - visible date == initial date
- If no date is selected, the initial date isn't set and the calendar displays the current month -
visible date ==today's date
- If no date is selected, the initial date isn't set and the calendar doesn't display the current month -
visible date == the first day of the displayable month
See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support,
connect with other developers, and share your feedback there.