You will get an initialized instance variable to use calendar methods and properties once you initialize the calendar.
The following table shows the calendar methods and properties used in Framework7 −
|S.No||Methods & Properties with Description|
It is the object with passed initialization parameters.
It is an array where each item holds the selected date.
It is true if calendar is currently opened.
It is true if calendar is an inline calendar.
It is an array with specified columns where each column also has its own method and properties.
It is the DOM7 instance with calendar HTML container.
It sets new selected dates. It accepts values which is an array where each item represents the selected date.
It is the calendar transition to the next month in ms.
It is the calendar transition to the previous month in ms.
It is the calendar transition to the next year.
It is the calendar transition to the previous year.
myCalendar.setYearMonth(year, month, duration)
It is the calendar transition to a aspecified year and month for specified duration in ms.
It is used to open the calendar.
It is used to close the calendar.
It is used to destroy calendar instance and removes all the events.