react-native-marked-range-text-input

    0.3.10 • Public • Published

    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}
        />
    ...
    
    

    Install

    npm i react-native-marked-range-text-input

    DownloadsWeekly Downloads

    1

    Version

    0.3.10

    License

    MIT

    Unpacked Size

    82.5 kB

    Total Files

    37

    Last publish

    Collaborators

    • bellzhong
    • magicismight
    • sohobloo
    • wsong910