MCPcopy Create free account
hub / github.com/Lobos/react-ui / isFallbackCompositionStart

Function isFallbackCompositionStart

docs/lib/react.js:157–159  ·  view source on GitHub ↗

* Does our fallback best-guess model think this event signifies that * composition has begun? * * @param {string} topLevelType * @param {object} nativeEvent * @return {boolean}

(topLevelType, nativeEvent)

Source from the content-addressed store, hash-verified

155 * @return {boolean}
156 */
157function isFallbackCompositionStart(topLevelType, nativeEvent) {
158 return topLevelType === topLevelTypes.topKeyDown && nativeEvent.keyCode === START_KEYCODE;
159}
160
161/**
162 * Does our fallback mode think that this event is the end of composition?

Callers 1

extractCompositionEventFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…