ToastUI Calendar

ToastUI Calendar (ODC)

Stable version 1.0.0 (Compatible with ODC)
Uploaded on 23 October 2023 by Xebia USA Inc.
ToastUI Calendar

ToastUI Calendar (ODC)

Documentation
1.0.0

Getting Started:

  1. ​Add a dependency on ToastUICalendar
  2. Add the TUICalendar block to your page
    1. Parameters:
      1. Height
        1. View height of the calendar, e.g. "800px"
      2. CalendarNames
        1. List of the names of the calendars that will be displayed.
      3. InitialViewName
        1. View name (day, week, month) to show by default
      4. UseDefaultPopups
        1. Whether or not you will use your own custom popups when the user attempts to create, view, or update an entry
    2. Events:
      1. CalendarInitialized
        1. Indicator that the calendar has been initialized and is ready to accept new events being added.

          Hold onto the resulting 'CalendarObject' for use with other calls.

      2. OnScheduleDeleted
        1. Indicates that the user is attempting to delete an event.
    3. Events for Default Popups (New/View/Update):
      1. OnDefaultCreate
        1. Indicates that the user is attempting to create a new entry, and that the default dialogs are being used.
      2. OnDefaultUpdate
        1. Indicates that the user is attempting to update an entry, and that the default dialogs are being used.
    4. Events for Custom Popups (New/View/Update):
      1. OnCustomCreate
        1. Indicates that the user is attempting to create a new entry, and that custom dialogs are being used instead of the defaults.
      2. OnCustomDetail
        1. Indicates that the user is attempting to view an entry, and that custom dialogs are being used.
      3. OnCustomUpdate
        1. Indicates that the user is attempting to update an entry, and that custom dialogs are being used instead of the defaults.
  3. Add events to the TUICalendar
    1. Call the AddScheduleToCalendar client action, passing the CalendarObject from TUICalendar's CalendarInitialized
    2. Call RenderCalendarSchedules client action

Additional Actions:

  • ​ClearCalendarSchedule
    • Clears all entries from the given CalendarObject
  • DeleteCalendarSchedule
    • Deletes an entry from the given CalendarObject
  • SetCalendarDate
    • Sets the view date of the given CalendarObject
  • SetCalendarView
    • Sets the view type of the given CalendarObject
  • UpdateCalendarSchedule
    • Updates an event on the given CalendarObject