EScheduler Scheduler
Examples
Month and drag
Week view
Day view
Event and slot callbacks
Read-only schedule
Properties
eventsvarScheduled events with a unique key, title, start and end.
[]draggableboolAllow entries to be moved by dragging.
truereadOnlyboolKeep content visible and prevent edits.
falseviewstringCalendar view: day, week, or month.
"month"datedateCurrent local date displayed by the scheduler.
new Date()firstDayOfWeekintFirst weekday, 0 for Sunday, 1 for Monday; range 0 to 6.
1eventDelegateComponentCustom scheduled event content; read parent.eventData.
nullvisibleDaysvarRead onlyArray of local dates displayed in the current view.
days()errorStringstringRead onlyModel validation error code; empty for a valid model.
validate()Signals
changed(var events)Emitted when schedule data changes; events is the updated event collection.
slotClicked(date date)Emitted when a schedule time slot is clicked; date is its date and time.
eventClicked(var event)Emitted when a schedule event is clicked; event is the event object.
eventMoved(var event, date previousStart)Emitted after moving an event; event is the updated event and previousStart is its previous start time.
Methods
resizeEvent(key, end)Change the end time of the event identified by key to end.
validate()Validate the current data; components supporting callback pass the result to that callback.
moveEvent(key, start)Move the event identified by key to start.