EventEditor
Abstract
The Calendar's event editor dialog, used internally by the EventEdit feature to display a popup form for creating and editing events. This editor extends the Scheduler's EventEditor with Calendar-specific behavior such as toggling the visibility of time fields when the "All day" toggle is switched, and restoring underlying time data when the toggle is cleared.
This class is not intended to be instantiated directly. To customize the editor layout, use the items config of the EventEdit feature. See EventEdit for more information and examples.
const calendar = new Calendar({
features : {
eventEdit : {
items : {
// Add a custom field to the event editor
locationField : {
type : 'text',
name : 'location',
label : 'Location',
weight : 200
}
}
}
}
});
See also
- EventEdit — The feature that manages this editor
- TimeVisualizingEditor — Specialized editor with an embedded day view
- EventModel — The event model being edited
No results
Properties
Properties are getters/setters or publicly accessible variables on this class-
Identifies an object as an instance of EventEditor class, or subclass thereof.
-
Identifies an object as an instance of EventEditor class, or subclass thereof.