MCPcopy Create free account
hub / github.com/krasimir/react-in-patterns / getTargetInstForInputOrChangeEvent

Function getTargetInstForInputOrChangeEvent

code/styling/public/app.js:4838–4842  ·  view source on GitHub ↗
(topLevelType, targetInst)

Source from the content-addressed store, hash-verified

4836}
4837
4838function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
4839 if (topLevelType === 'topInput' || topLevelType === 'topChange') {
4840 return getInstIfValueChanged(targetInst);
4841 }
4842}
4843
4844function handleControlledInputBlur(inst, node) {
4845 // TODO: In IE, inst is occasionally null. Why?

Callers

nothing calls this directly

Calls 1

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected