Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

EventListener

翻譯不完整。請協助 翻譯此英文文件

Method overview

void handleEvent(in Event event);

方法

handleEvent()

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

void handleEvent(
  in Event event
);
參數
event
The DOM Event to register.

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.

參見

文件標籤與貢獻者

 此頁面的貢獻者: jackblackevo
 最近更新: jackblackevo,