Export (0) Print
Expand All

IEventTarget interface

Implements methods to register, unregister, and dispatch Document Object Model (DOM) events.

Members

The IEventTarget interface inherits from the IDispatch interface. IEventTarget also has these types of members:

Methods

The IEventTarget interface has these methods.

MethodDescription
addEventListener

Registers an event handler for the specified event type.

dispatchEvent

Sends an event to the current element.

removeEventListener

Removes an event handler that the IEventTarget::addEventListener method registered.

 

Requirements

Minimum supported client

Windows Vista with SP1, Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

 

 

Community Additions

ADD
Show:
© 2015 Microsoft