Day-Lane Render Hooks

In TimeGrid view, a “day lane” is the vertical column of time slots for a given day. Customize its appearance with these hooks.

dayLaneClass - a ClassName Input

dayLaneInnerClass - a ClassName Input for the inner wrapper of the day lane. Useful for adjusting padding.

dayLaneDidMount

dayLaneWillUnmount

Argument

When the above hooks are specified as a function in the form function(arg), the arg is an object with the following properties:

  • date - Date object
  • isPast
  • isFuture
  • isToday
  • isOther
  • isNarrow
  • isMajor
  • isStack - true when rendering in a simplified print layout (Firefox only)
  • resource - if the lane lives under a specific resource in vertical resource view, this value will be the Resource Object
  • el - the element. only available in dayLaneDidMount and dayLaneWillUnmount