fullcalendar plugins for CoCreate
npm i @cocreate/fullcalendar
Or you can use cdn link:
<script>https://cdn.cocreate.app/fullcalendar/latest/CoCreate-fullcalendar.min.js</script>
CoCreate-fullcalendar is using CoCreate-filter component to fetch the calendar data from db
Classes
-
cal-container string require
Main class for select the container that rener fullcalendar
-
data-calendar_id string require
This is a main attribute to represent the calendar
-
data-btn_type string optional
Define the buttons related with calendar. This attribute should use with data-calendar_id attribute.
Available values: dayGridDay | dayGridWeek | dayGridMonth | resourceTimelineDay | resourceTimelineThreeDays | resourceTimelineFiveDays | timeGridWeek | timeGridDay | listDay | listWeek | listMonth | listYear | timelineWeek | today
Ex: <button data-btn_type="dayGridDay" data-calendar_id="calendar_testing" > Day <button>
-
data-dispaly_field string optional
Display field