16
सम्पादन
छोNo edit summary |
छोNo edit summary |
||
addEvent(text, 'compositionstart', function (evt) { log('cStart'); self.lastKey = IME; self.usesComposition = true; self.ime = true; });
addEvent(text, 'compositionend', function (evt) { log('cEnd'); self.lastKey = IME; self.usesComposition = true; self.ime = false; });
addEvent(text, 'textInput', function (evt) { log('textInput ' + (typeof evt.data != 'undefined' ? evt.data : 'UNDEF')); self.ime = false; self.invokeSuggestions(
} catch (any) {
// Just in case some browsers might produce exceptions with these DOM Level 3 events
|
सम्पादन