MCPcopy Create free account
hub / github.com/microsoft/SandDance / isUsingKoreanIME

Function isUsingKoreanIME

docs/external/js/react-dom.development.js:8905–8907  ·  view source on GitHub ↗

* Check if a composition event was triggered by Korean IME. * Our fallback mode does not work well with IE's Korean IME, * so just use native composition events when Korean IME is used. * Although CompositionEvent.locale property is deprecated, * it is available in IE, where our fallback

(nativeEvent)

Source from the content-addressed store, hash-verified

8903
8904
8905 function isUsingKoreanIME(nativeEvent) {
8906 return nativeEvent.locale === 'ko';
8907 } // Track the current IME composition status, if any.
8908
8909
8910 var isComposing = false;

Callers 2

extractCompositionEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected