Full Height in Fullcalendar

PHOTO EMBED

Thu Mar 11 2021 16:22:28 GMT+0000 (Coordinated Universal Time)

Saved by @murratore #javascript

Make a hook on "eventDidMount" : link

an search in arg.el for the item.

arg.el.find(".fc-title")  // jQuery, geht aber auch ohne
get the height

.height()  // jQuery, geht aber auch ohne
Summary:

eventDidMount:function(argE) { 
    h = arg.el.find(".fc-title").height(); 
    if(typeof(h) != "undefined") {
       if (h > 20) {
       // ... your code
       }
    }
    return (argE.event._def.title;); // dont forget the reason for this hook
},  // 
content_copyCOPY

Wochenplan FullCalendar

https://stackoverflow.com/questions/63226444/how-to-get-height-of-event-while-setting-the-content-in-eventcontent-for-fullcal