initEvent

Declaration

void initEvent(
    optional DOMString type, 
    optional boolean bubbles, 
    optional boolean cancelable
);