Framework7 - Calendar


Advertisements

Description

The Calendar component allows you to handle dates easily and can be used as an inline or as an overlay component. The overlay calendar will be converted to popover on tablets automatically.

Calendar can be created and initialized only by using JavaScript. You need to use the related App's method as shown below −

  • myApp.calendar(parameters) − This method returns initialized calendar instance. It accepts an object as paramaters.

The following table shows the calendar usage in Framework7 −

S.No Calendar Usage & Description
1 Calendar Parameters

Framework7 provides a list of parameters, which are used with calendar.

2 Calendar Methods & Properties

You will get an initialized instance variable to use the calendar methods and properties, once you initialize the calendar.

3 Access to Calendar's Instance

It is possible to access the calendar instance from its HTML container when you initialize the calendar as inline.

Advertisements