Skip to main content

IME_SET_COMPOSITION

Constant IME_SET_COMPOSITION 

Source
pub const IME_SET_COMPOSITION: &str = "Input.imeSetComposition";
Expand description

This method sets the current candidate text for IME. Use imeCommitComposition to commit the final text. Use imeSetComposition with empty string as text to cancel composition.

Experimental: may change without notice.

Parameters:

  • text: string
  • selectionStart: integer
  • selectionEnd: integer
  • replacementStart: integer (optional)
  • replacementEnd: integer (optional)