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