WebAPI/KeboardIME: Difference between revisions

Jump to navigation Jump to search
m
set the parameter of endComposition as optional
m (fix the comment of getText)
m (set the parameter of endComposition as optional)
Line 393: Line 393:
       * |replaceSurroundingText|, |deleteSurroundingText|, user moving the cursor, changing the focus, etc.
       * |replaceSurroundingText|, |deleteSurroundingText|, user moving the cursor, changing the focus, etc.
       */
       */
     <strike>Promise<boolean> endComposition(DOMString text);</strike>
     <strike>Promise<boolean> endComposition([optional] DOMString text);</strike>
     Promise<void> endComposition(DOMString text);
     Promise<void> endComposition(DOMString text);
  };
  };
Confirmed users
58

edits

Navigation menu