Zum Hauptinhalt springen

event_bar_text

Description

Legt den Text fest, der bei mehrtägigen Events angezeigt wird.

event_bar_text: (start: Date, end: Date, event: any) => string

Parameters

  • start - (required) Date - Das Datum, an dem das Event beginnt
  • end - (required) Date - Das Datum, an dem das Event endet
  • event - (required) object - Das Event-Objekt

Returns

  • text - (string) - HTML-Inhalt, der im Scheduler angezeigt wird

Example

scheduler.templates.event_bar_text = function(start,end,event){
return event.text;
};

Applicable views: Month view, Timeline view

Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.