go
Expand Minimize

msGetInputContext method

Returns the MSInputMethodContext associated with the calling element.

IE11

 

Syntax

var result = HTMLElement.msGetInputContext();

Parameters

result [out, retval]

Type: MSInputMethodContext

Remarks

A new instance of MSInputMethodContext is created on-demand the first time it is requested on a given element. A reference to it is returned upon subsequent calls.

Once created, the MSInputMethodContext object's lifetime is tied to the lifetime of its corresponding element.

A MSInputMethodContext can be obtained for any element because any element can become a contenteditable target.

See also

HTMLElement
candidatewindowhide
candidatewindowshow
candidatewindowupdate
MSInputMethodContext
-ms-ime-align

 

 

Show:
© 2014 Microsoft