on(div, "compositionend", function (e) {
if (this$1.composing) {
if (e.data != this$1.composing.data) { this$1.readFromDOMSoon() }
this$1.composing.done = true
//simulate 'ESC', ex.Korean
var keyboardEventInit = { key: "Escape", code: "Escape", keyCode: 27, which: 27, composed: true, bubbles:true };
var evtObj = new KeyboardEvent('keydown', keyboardEventInit);
e.target.dispatchEvent(evtObj);
}
})