解决措施在输入法应用中可以使用inputMethodEngine (输入法服务)模块的keyboardDelegate.on('cursorContextChange')接口,订阅光标变化事件。参考文档KeyboardDelegate.on('cursorContextChange')
解决措施
在输入法应用中可以使用inputMethodEngine (输入法服务)模块的keyboardDelegate.on('cursorContextChange')接口,订阅光标变化事件。
参考文档
KeyboardDelegate.on('cursorContextChange')