MCPcopy Create free account
hub / github.com/ygs-code/vue / onCompositionEnd

Function onCompositionEnd

vue.js:11760–11767  ·  view source on GitHub ↗
(e)

Source from the content-addressed store, hash-verified

11758 }
11759
11760 function onCompositionEnd(e) {
11761 // prevent triggering an input event for no reason
11762 if (!e.target.composing) {
11763 return
11764 }
11765 e.target.composing = false;
11766 trigger(e.target, 'input');
11767 }
11768
11769 function trigger(el, type) {
11770 var e = document.createEvent('HTMLEvents');

Callers

nothing calls this directly

Calls 1

triggerFunction · 0.85

Tested by

no test coverage detected