Event.createEvent()
Crea un nuevo evento, que debe ser inicializado llamando a su método init()
.
Sintaxis
Ejemplo
js
var nuevoEvento = document.createEvent("UIEvents");
Especificaciones
Specification |
---|
DOM # dom-document-createevent |
Crea un nuevo evento, que debe ser inicializado llamando a su método init()
.
var nuevoEvento = document.createEvent("UIEvents");
Specification |
---|
DOM # dom-document-createevent |