$(function () { var returnsValue; // Type: bool // Parameters var id; // Type: number var successCallback; // Type: any var errorCallback; // Type: any returnsValue = $(".selector").wijevcal("deleteEvent", id, successCallback, errorCallback); });
function deleteEvent( id : number, successCallback : any, errorCallback : any ) : bool;
Parameters
- id
- Event object or event id.
- successCallback
- Function that will be called when event is deleted.
- errorCallback
- Function that will be called when event can not be deleted.(e.g. due to data source or memory problems).