You're viewing the v7 docs. Upgrading from v6?
view .md

Week Number Header Render Hooks

In TimeGrid view, week numbers appear in the header above the time axis. Customize their appearance with these hooks.

weekNumberHeaderClass - a ClassName Input

weekNumberHeaderInnerClass - a ClassName Input for the inner wrapper of the week-number header (top-left axis cell). Useful for adjusting padding.

weekNumberHeaderContent - a Content Injection Input

weekNumberHeaderDidMount

weekNumberHeaderWillUnmount

Argument

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

  • num
  • text
  • textParts
  • date - Date object
  • isNarrow
  • hasNavLink
  • options - the calendar options object, useful for reading settings like dayMinWidth