timdream / jszhuyin

JS 注音:JavaScript 自動選字注音輸入法;"Smart" Chinese Zhuyin Input Method in JavaScript.
https://jszhuyin.timdream.org/
MIT License
223 stars 19 forks source link

API.md #2

Closed timdream closed 8 years ago

timdream commented 11 years ago

WIP in my hard drive.

timdream commented 11 years ago

WIP.

var IMEEngine = function BareIMEEngine(options, resultCallback) {
  return {
    handleKeypress: function () {

    },
    handleCandidateSelect: function () {

    },
    reset: function () {

    },
    destory: function () {

    }
  }
};

I intend to defer this issue for now until we have a way to sync the code here to mozilla-b2g/gaia