Lines Matching refs:textChange
1212 ### on('textChange')
1214 on(type: 'textChange', callback: (text: string) => void): void
1224 | type | string | 是 | 文本变化事件,固定取值为'textChange'。 |
1231 inputMethodEngine.getKeyboardDelegate().on('textChange', (text: string) => {
1232 console.log('inputMethodEngine textChange. text:' + text);
1235 console.error(`Failed to textChange: ${JSON.stringify(err)}`);
1239 ### off('textChange')
1241 off(type: 'textChange', callback?: (text: string) => void): void
1251 | type | string | 是 | 文本变化事件,固定取值为'textChange'。 |
1258 inputMethodEngine.getKeyboardDelegate().off('textChange', (text: string) => {
1259 console.log('delete textChange notification. text:' + text);
1262 console.error(`Failed to textChange: ${JSON.stringify(err)}`);
1289 console.error(`Failed to textChange: ${JSON.stringify(err)}`);