WebAPI/KeboardIME: Difference between revisions

Jump to navigation Jump to search
Line 209: Line 209:
       inputContext.setComposition('☃');
       inputContext.setComposition('☃');
       // end the composition and commit the text.
       // end the composition and commit the text.
       inputContext.commitText('☃');
       inputContext.endComposition('☃');
       ['S', 'N', 'O', 'W'].forEach(function (k) {
       ['S', 'N', 'O', 'W'].forEach(function (k) {
         // For capital Latin letters, keyCode is same as the charCode.
         // For capital Latin letters, keyCode is same as the charCode.
Confirmed users
478

edits

Navigation menu