📅  最后修改于: 2020-10-25 02:56:42             🧑  作者: Mango
日历组件使您可以轻松处理日期,并且可以用作嵌入式或叠加组件。重叠式日历将自动转换为平板电脑上的弹出框。
只能使用JavaScript创建和初始化日历。您需要使用相关的App的方法,如下所示-
myApp.calendar(parameters) -此方法返回初始化的日历实例。它接受一个对象作为参数。
下表显示了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. |