JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 1
  • Score
    100M100P100Q30319F
  • License MIT

An extended TextInput component with onMarkedRangedChanged callback

Package Exports

  • react-native-marked-range-text-input

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-native-marked-range-text-input) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

react-native-marked-range-text-input

一个 TextInput 组件的拓展 增加 onMarkedRangeChanged 回调,用于标记输入法选区的变化 同时 onChangeText 只会在输入法选区结束之后才会触发

import TextInput from 'react-native-marked-range-text-input';

...
    <TextInput
        style={styles.input}
        onMarkedRangeChanged={this._onMarkedRangeChanged}
        onChangeText={this._onChangeText}
    />
...