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 }, //
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter