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 / features / quiz / QuizSession / QuizAnswer / index.js View on Github external
componentDidMount() {
    bind(this.inputFieldRef, { IMEMode: 'toHiragana' });
    // IOS doesn't open keyboard via autofocus so let's give it a poke
    this.inputFieldRef.focus();
  }
github Kaniwani / kw-frontend / app / common / components / AddSynonym / AddSynonymForm.js View on Github external
componentDidMount() {
    this.wordInputRef.value = this.props.initialValues.word;
    this.readingInputRef.value = this.props.initialValues.reading;
    bind(this.wordInputRef, { IMEMode: 'toHiragana' });
    bind(this.readingInputRef, { IMEMode: 'toHiragana' });
  }
github Kaniwani / kw-frontend / app / common / components / AddSynonym / AddSynonymForm.js View on Github external
componentDidMount() {
    this.wordInputRef.value = this.props.initialValues.word;
    this.readingInputRef.value = this.props.initialValues.reading;
    bind(this.wordInputRef, { IMEMode: 'toHiragana' });
    bind(this.readingInputRef, { IMEMode: 'toHiragana' });
  }