Method “createEvent”

function createEvent(caption)

Creates a new event

Parameters

NameTypeDescription
captionstringCaption of the new event

Return Value

Returns the EventNode object corresponding to the new event.