MCPcopy Index your code
hub / github.com/krasimir/react-in-patterns / isFallbackCompositionStart

Function isFallbackCompositionStart

code/new-context-api/public/app.js:2590–2592  ·  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

2588 * @return {boolean}
2589 */
2590function isFallbackCompositionStart(topLevelType, nativeEvent) {
2591 return topLevelType === 'topKeyDown' && nativeEvent.keyCode === START_KEYCODE;
2592}
2593
2594/**
2595 * Does our fallback mode think that this event is the end of composition?

Callers 1

extractCompositionEventFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected