Jaa


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

Methods

The IEventTarget interface has these methods.

Method Description
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

Minimum supported server

Windows Server 2008 R2

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch