Returns a ClientRect object with candidate window coordinate space information (if the Input Method Editor (IME) candidate window is visible).
Syntaxvar result = MSInputMethodContext.getCandidateWindowClientRect();
- result [out, retval]
You can determine if the IME candidate window is visible with the isCandidateWindowVisible method.
When getCandidateWindowClientRect is first called, a new ClientRect object is created and its data members (bottom, top, left, right, width, height) are populated with client coordinate space information. The ClientRect object's data is only populated on-demand (the first call for the first handler of the current event). Multiple calls to this method will return the same ClientRect object.
This method is similar to that of getBoundingClientRect, where client coordinates are in document pixels and have an origin at the upper-left corner of the client area.