Skip to content

Calendar

Eric edited this page Feb 17, 2018 · 115 revisions

OGX.Calendar is an infinite multi function calendar that can display the content of a schedule in different manners for different views. Views aren't limited to months and days, views can be anything that can be quantified with time. These views can also use different rendering engines that allows the creation of a multitude of time based components.

OGX.Calendar uses OGX.QuadSwiper so it must be added to your project as well.

At the time of the documentation only 3 view types are available (month, week day) but the calendar will be extended to cover any type time range.

Instantiate

 let config = {
      container:_SELECTOR_, //Required, The selector for the target HTML element
      view:_INT_, //Required, the view to display
      views:_ARRAY_, //Required, an array of view
      data:_OBJECT_ //Optional, a schedule data object
 };

 let calendar = new OGX.Calendar(config);

Views

Clone this wiki locally