Displaying Calendar Items"
From Documentation
(Created page with "{{ZKCalendarEssentialsPageHeader}} = Component in MVC Pattern= = Create a CalendarModel = = Assign the Model to Calendars= {{ZKCalendarEssentialsPageFooter}}") |
|||
Line 2: | Line 2: | ||
= Component in MVC Pattern= | = Component in MVC Pattern= | ||
+ | In the component perspective, Calendars is designed in MVC pattern: | ||
+ | * <tt>Calendars</tt> (Controller): receive UI events | ||
+ | * <tt>CalendarModel</tt> (Model): stores <tt>CalendarItem</tt> | ||
+ | * <tt>ContentRenderer</tt> (View): renders a calender-related data to the client-side upon <tt>CalendarModel</tt> | ||
= Create a CalendarModel = | = Create a CalendarModel = |
Revision as of 06:25, 20 January 2021
Component in MVC Pattern
In the component perspective, Calendars is designed in MVC pattern:
- Calendars (Controller): receive UI events
- CalendarModel (Model): stores CalendarItem
- ContentRenderer (View): renders a calender-related data to the client-side upon CalendarModel
Create a CalendarModel
Assign the Model to Calendars
The example project is at Github