logo

/Doc|v1.1.1

Typedef

TimeCreationGuide:

object

typedef.jsline 1

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', (event) => {
  const guide = event.guide;
  // Use guideEl$'s left, top to locate your schedule creation popup
  const guideEl$ = guide.guideElement ?
    guide.guideElement : guide.guideElements[Object.keys(guide.guideElements)[0]];

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