Occurs when event markup is creating.
Syntax
$(function () {
// Set eventCreating event handler function
$(".selector").wijevcal({
eventCreating : function (data, eventTemplate) {
}
});
});
eventCreating = function (
: Object,
: string
) { };
Parameters
- data
- The data with this event. data object fields:
id - String, unique event id, this field generated automatically;
calendar - String, calendar id to which the event belongs;
subject - String, event title;
location - String, event location;
start - Date, start date/time;
end - Date, end date/time;
description - String, event description;
color - String, event color;
allday - Boolean, indicates all day event
tag - String, this field can be used to store custom information.
- eventTemplate
- The template of events displayed on the view.
See Also