Programmer's Guide > Interfaces > CMSObjectEvent interface > initCMSObjectEvent method
  
initCMSObjectEvent method
Initializes the value of an CMSObjectEvent created through the CMSObjectEvent interface. This method should only be called before the CMSObjectEvent has been dispatched using the dispatchEvent method, though it may be called multiple times during that phase if necessary. If called multiple times, the final invocation takes precedence.
initCMSObjectEvent(typeArg, canBubbleArg, cancelableArg, endArg, flagsArg, resultArg, startArg)
Parameters
StringtypeArg
Specifies the event type.
booleancanBubbleArg
Specifies whether or not the event can bubble.
booleancancelableArg
Specifies whether or not the event's default action can be prevented.
NodeendArg
Specifies an event-dependent DOM end Node associated with the event.
intflagsArg
Provides an event-dependent bitmask of information.
CMSObjectresultArg
Represents the event-dependent result of an event.
NodestartArg
Specifies an event-dependent DOM start Node associated with the event.
Returns
void