moreLinkClick
Determines the action taken when the user clicks on a “more” link created by the dayMaxEventRows or dayMaxEvents options.
“popover”, “week”, “day”, view name (string), function
"popover"
(the default)- Displays a rectangular panel over the cell with a full list of events for that day.
"week"
- Goes to a week view, as determined by the views in the headerToolbar.
"day"
- Goes to a day view, as determined by the views in the headerToolbar.
- view name
- A literal string name of any of the available views.
- function
- A callback function, for executing arbitrary code.
Callback Function
function( info )
info
is an object with the following properties:
date |
The Date object representation of the day |
---|---|
allSegs |
An array of all event “segment” objects for the given day. More information below. |
hiddenSegs |
An array of only the segment objects that were not displayed prior. |
jsEvent |
The native JavaScript event for the click. |
A callback function can return a string value, like "day"
, that will be processed as the new value of the setting.
Event Segment Object
event |
The Event Object |
---|---|
start |
The Date for when this stretch of the event begins |
end |
The Date for when this stretch of the event ends. In line with the discussion about the Event object, it is important to stress that the |
isStart |
Boolean ( |
isEnd |
Boolean ( |