How to use the wanakana/bind function in wanakana

To help you get started, we’ve selected a few wanakana examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github Kaniwani / kw-frontend / app / containers / ReviewAnswerContainer / index.js View on Github external
componentDidMount() {
    // could probably use toKana() in handleKeyDown instead?
    // depends on any quirks of IMEMode handling selection and 3char chunks
    bind(this.inputFieldRef);
    this.inputFieldRef.addEventListener('keydown', this.handleKeyDown);
  }