initCustomEvent

Declaration

void initCustomEvent(
    DOMString type, 
    boolean bubbles, 
    boolean cancelable, 
    any detail
);