Confirmed users
58
edits
m (detailed description of setComposition and endComposition) |
m (→Proposed API) |
||
Line 408: | Line 408: | ||
* Note that composition always ends automatically with nothing to commit if the composition does not | * Note that composition always ends automatically with nothing to commit if the composition does not | ||
* explicitly end by calling |endComposition|, but is interrupted by |sendKey|, |setSelectionRange|, | * explicitly end by calling |endComposition|, but is interrupted by |sendKey|, |setSelectionRange|, | ||
* |replaceSurroundingText|, |deleteSurroundingText|, user moving the cursor, | * |replaceSurroundingText|, |deleteSurroundingText|, user moving the cursor, changing the focus, etc. | ||
*/ | */ | ||
Promise<boolean> endComposition(DOMString text); | Promise<boolean> endComposition(DOMString text); |