createEvent method
Warning: Many methods used with
createEvent
, such asinitCustomEvent
, are deprecated. Use event constructors instead.
Creates an event of the type specified. The returned object should be first initialized and can then be passed to EventTarget.dispatchEvent.
Implementation
external Event createEvent(String interface);