Zum Hauptinhalt springen

map_text

Description

Definiert den Text, der in der zweiten Spalte der Ansicht angezeigt wird

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

Parameters

  • start - (required) Date - das Datum, an dem ein Ereignis beginnt
  • end - (required) Date - das Datum, an dem ein Ereignis voraussichtlich endet
  • event - (required) object - das Ereignisobjekt selbst

Returns

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

Example

scheduler.templates.map_text = function(start,end,ev){
return ev.text;
};

Applicable views: Map view

Details

Hinweis

Die Vorlage erfordert, dass das map_view Plugin aktiviert ist.

Beachte, dass wenn die map_text Vorlage nicht definiert ist, der Datumsanteil ('d-m-y'), der im Google Maps Popup-Marker angezeigt wird, das Format der day_date Vorlage übernimmt.

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.