logo

/repo|v1.12.8

Typedef

TimeCreationGuide:

object

calendar.jsline 513

PROPERTIES
NameTypeDescription

guideElement

HTMLElement

Guide element

guideElements

Object.<stringHTMLElement>

Map by key. It can be used in monthly view

clearGuideElement

function

Hide the creation guide

EXAMPLES
calendar.on('beforeCreateSchedule', function(event) {
    var guide = event.guide;
    // Use guideEl$'s left, top to locate your schedule creation popup
    var guideEl$ = guide.guideElement ?
         guide.guideElement : guide.guideElements[Object.keys(guide.guideElements)[0]];

    // After that call this to hide the creation guide
    guide.clearGuideElement();
});
Resizable