Join MDN and developers like you at Mozilla's View Source conference, 12-14 September in Berlin, Germany. Learn more at https://viewsourceconf.org

EventListener

Nossos voluntários ainda não traduziram este artigo para o Português (do Brasil) . Junte-se a nós e ajude a fazer o trabalho!

Method overview

void handleEvent(in Event event);

Methods

handleEvent()

This method is called whenever an event occurs of the type for which the EventListener interface was registered.

void handleEvent(
  in Event event
);
Parameters
event
The DOM Event which was triggered.

Remarks

As the interface is marked with the [function] flag, all JavaScript Function objects automatically implement this interface. Calling the handleEvent() method on such an implementation automatically invokes the function.

See also

Etiquetas do documento e colaboradores

 Colaboradores desta página: Makyen, Sheppy, teoli, iamanupmenon
 Última atualização por: Makyen,