Skip to content

Commit

Permalink
Add sample for event background color
Browse files Browse the repository at this point in the history
  • Loading branch information
fansaien committed Feb 5, 2019
1 parent d10730a commit 6ec4f2e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/example.config_calendar.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ searchList: $/author/plugin/models/event/columns.yaml
# Record URL
recordUrl: author/plugins/events/update/:event_id


# Record on click
# @see custom.calendar.js sample
# recordOnClick: $.oc.eventController.onEventClick(:event_id)
Expand All @@ -37,6 +38,9 @@ recordStart: start_time
# The property to use as the end time for the record
recordEnd: end_time

# The property to use as the background color displayed on the event
recordBackgroundColor: event_color

# Available display modes to be supported in this instance
availableDisplayModes: [month, week, day, list]

Expand Down

0 comments on commit 6ec4f2e

Please sign in to comment.