event_bar_date
Description
Wird verwendet, um das Datum für ein Event festzulegen. Dies gilt nur für Events, die einen einzelnen Tag dauern.
event_bar_date: (start: Date, end: Date, event: any) => string
Parameters
start- (required) Date - Das Datum, an dem das Event beginntend- (required) Date - Das Datum, an dem das Event endetevent- (required) object - Das Event-Objekt selbst
Returns
text- (string) - HTML-Inhalt, der im Scheduler angezeigt wird
Example
scheduler.templates.event_bar_date = function(start,end,ev){
return "• <b>"+scheduler.templates.event_date(start)+"</b> ";
};
Applicable views: Month view
Related Guides
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.