Row Event Render Hooks

Customize events that render as horizontal bars. These are the rectangular color-filled events: all-day events in DayGrid and TimeGrid views, as well as Timeline events. These hooks apply in addition to the general Event Render Hooks and Block Event Render Hooks.

rowEventClass - a ClassName Input for the outermost element of a row event

rowEventBeforeClass - a ClassName Input for the element before the “inner” wrapper

rowEventAfterClass - a ClassName Input for the element after the “inner” wrapper

rowEventBeforeContent - a Content Injection Input. Generated content is inserted inside the element before the “inner” wrapper, and is hidden from assistive technology. Useful for decorations such as an arrow showing that the event continues from an earlier date.

rowEventAfterContent - a Content Injection Input. Generated content is inserted inside the element after the “inner” wrapper, and is hidden from assistive technology. Useful for decorations such as an arrow showing that the event continues past a later date.

rowEventInnerClass - a ClassName Input for the “inner” wrapper element

rowEventTimeClass - a ClassName Input for the time element within “inner”

rowEventTitleClass - a ClassName Input for the title element within “inner”

Argument#

When the above hooks are specified as a function in the form function(info), the info argument is the same object the Event Render Hooks receive (without el). The exceptions are rowEventTimeClass and rowEventTitleClass, whose info has only event, isNarrow and isShort.