diff --git a/agenda/index.txt b/agenda/index.txt index 09448b3..dcc1ecf 100644 --- a/agenda/index.txt +++ b/agenda/index.txt @@ -8,6 +8,7 @@ The following options only apply to the `agendaWeek` and `agendaDay` views: - allDayText - axisFormat - slotMinutes +- snapMinutes - defaultEventMinutes - firstHour - minTime diff --git a/agenda/snapMinutes.txt b/agenda/snapMinutes.txt new file mode 100644 index 0000000..add9093 --- /dev/null +++ b/agenda/snapMinutes.txt @@ -0,0 +1,12 @@ + +snapMinutes *1.6* +================= + +The time interval at which a dragged event will snap to the agenda view time grid. +Specified in number of minutes. + +
+Integer +
+ +The default value will be whatever [slotMinutes]() is, which defaults to `30` (half an hour). diff --git a/display/dayRender.txt b/display/dayRender.txt new file mode 100644 index 0000000..31d5416 --- /dev/null +++ b/display/dayRender.txt @@ -0,0 +1,19 @@ + +dayRender *1.6* +=============== + +A hook for modifying a day cell. + +
+function( date, cell ) { } +
+ +This callback lets you modify day cells that are part of the *month*, *basicWeek*, and *basicDay* views. +See [Available Views](http://localhost/arshaw/fullcalendar/docs/views/Available_Views/). + +`date` is the native Date object for the given day. + +You cannot return a new element. You must only modify the `cell` (a `` element) that is provided. + +This callback is called each time a cell needs to be freshly rendered. However, a cell does not need to +be rerendered when switching views. Rendering only occurs when the calendar navigates to a different date/time. \ No newline at end of file diff --git a/display/index.txt b/display/index.txt index b26f49b..017940d 100644 --- a/display/index.txt +++ b/display/index.txt @@ -10,11 +10,14 @@ General Display
  • isRTL
  • weekends
  • weekMode
  • +
  • weekNumbers
  • +
  • weekNumberCalculation
  • height
  • contentHeight
  • aspectRatio
  • viewDisplay (callback)
  • windowResize (callback)
  • +
  • dayRender (callback)
  • render (method)
  • destroy (method)
  • diff --git a/display/weekNumberCalculation.txt b/display/weekNumberCalculation.txt new file mode 100644 index 0000000..c414307 --- /dev/null +++ b/display/weekNumberCalculation.txt @@ -0,0 +1,16 @@ + +weekNumberCalculation *1.6* +=========================== + +The method for calculating week numbers that are displayed with the [weekNumbers](weekNumbers) setting. + +
    +String/Function, *default*:`"iso"` +
    + +The default (`"iso"`) causes +[ISO8601 week numbers](http://en.wikipedia.org/wiki/ISO_8601#Week_dates). + +You may also specify a function, which accepts a single native Date object and returns +an integer week number. Since FullCalendar currently lacks a built-in internationlization +system, this is only way to implement localized week numbers. \ No newline at end of file diff --git a/display/weekNumbers.txt b/display/weekNumbers.txt new file mode 100644 index 0000000..bd2a0aa --- /dev/null +++ b/display/weekNumbers.txt @@ -0,0 +1,15 @@ + +weekNumbers *1.6* +================= + +Determines if week numbers should be displayed on the calendar. + +
    +Boolean, *default*: `false` +
    + +If set to `true`, week numbers will be displayed in a separate left column in the month/basic views +as well as at the top-left corner of the agenda views. See [Available Views](../views/Available_Views). + +By defaut, FullCalendar will display the [ISO8601 week number](http://en.wikipedia.org/wiki/ISO_8601#Week_dates). +To display other types of week numbers, see [weekNumberCalculation](weekNumberCalculation). \ No newline at end of file diff --git a/event_data/Event_Source_Object.txt b/event_data/Event_Source_Object.txt index 35eed1c..5192483 100644 --- a/event_data/Event_Source_Object.txt +++ b/event_data/Event_Source_Object.txt @@ -125,6 +125,14 @@ ignoreTimezone Sets the [ignoreTimezone]() option, but only for this source. + + +eventTransform + + +Sets the [eventTransform]() callback, but only for this source. + + **For JSON feeds**, [there are additional options you can set](events_json_feed#options). diff --git a/event_data/eventTransform.txt b/event_data/eventTransform.txt new file mode 100644 index 0000000..8bdd6e7 --- /dev/null +++ b/event_data/eventTransform.txt @@ -0,0 +1,17 @@ + +eventTransform *1.6* +==================== + +Transforms custom data into a standard [Event Object](Event_Object). + +
    +function( *eventData* ) {} +
    + +This hook allows you to receive arbitrary event data from a JSON feed or any other +[Event Source](Event_Source_Object) and transform it into the type of data FullCalendar accepts. +This let's you easily accept alternative data formats without having to write a completely custom +[events function](events_function). + +This function is called once per received event. `eventData` is the event data that has been +receieved. The function must return a new object in the [Event Object](Event_Object) format. \ No newline at end of file diff --git a/event_data/index.txt b/event_data/index.txt index 71c1b2f..70c7db1 100644 --- a/event_data/index.txt +++ b/event_data/index.txt @@ -14,6 +14,7 @@ Event Data
  • startParam
  • endParam
  • lazyFetching
  • +
  • eventTransform (callback)
  • loading (callback)
  • updateEvent (method)
  • clientEvents (method)
  • diff --git a/text/index.txt b/text/index.txt index 99dd9f4..ab0f4f1 100644 --- a/text/index.txt +++ b/text/index.txt @@ -11,6 +11,7 @@ Text/Time Customization
  • monthNamesShort
  • dayNames
  • dayNamesShort
  • +
  • weekNumberTitle
  • Related agenda options: [allDayText](../agenda/allDayText), [axisFormat](../agenda/axisFormat) diff --git a/text/weekNumberTitle.txt b/text/weekNumberTitle.txt new file mode 100644 index 0000000..68d6d90 --- /dev/null +++ b/text/weekNumberTitle.txt @@ -0,0 +1,12 @@ + +weekNumberTitle *1.6* +===================== + +The heading text for week numbers. + +
    +String, *default*: `"W"` +
    + +This text will go above the week number column in the month/basic views. +It will go alongside the week number text in the top-left cell for agenda views. \ No newline at end of file diff --git a/utilities/formatDate.txt b/utilities/formatDate.txt index 93681f8..a45bdcd 100644 --- a/utilities/formatDate.txt +++ b/utilities/formatDate.txt @@ -36,6 +36,7 @@ Prior to version 1.3, formatDate accepted a very different format. [See here](fo - **TT** - 'AM' or 'PM' - **u** - ISO8601 format - **S** - 'st', 'nd', 'rd', 'th' for the date +- **W** - the [ISO8601 week number](http://en.wikipedia.org/wiki/ISO_8601#Week_dates) Special Characters: