)
Creates a new Event object of the specified type.
This is analogous to document.createEvent. Normally events should be created via their constructors, if available.
var e = new Event.type('MouseEvent', 'mousedown', true, true);
Creates a new Event object of the specified type.
This is analogous to document.createEvent. Normally events should be created via their constructors, if available.
var e = new Event.type('MouseEvent', 'mousedown', true, true);