共用方式為


IDOMTextEvent interface

Provides specific contextual information that is associated with text events.

Members

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

  • Methods
  • Properties

Methods

The IDOMTextEvent interface has these methods.

Method Description
initTextEvent

Initializes a new text event that the IDocumentEvent::createEvent method created.

 

Properties

The IDOMTextEvent interface has these properties.

Property Description

data

Gets the data of the event.

inputMethod

Gets a value that describes how text is entered.

locale

Gets the locale name for the event.

 

Remarks

Text events occur after compositionend events. For more information, see IDOMCompositionEvent::initCompositionEvent.

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

IDOMCompositionEvent