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

Function getTargetInstForClickEvent

code/new-context-api/public/app.js:4193–4197  ·  view source on GitHub ↗
(topLevelType, targetInst)

Source from the content-addressed store, hash-verified

4191}
4192
4193function getTargetInstForClickEvent(topLevelType, targetInst) {
4194 if (topLevelType === 'topClick') {
4195 return getInstIfValueChanged(targetInst);
4196 }
4197}
4198
4199function getTargetInstForInputOrChangeEvent(topLevelType, targetInst) {
4200 if (topLevelType === 'topInput' || topLevelType === 'topChange') {

Callers

nothing calls this directly

Calls 1

getInstIfValueChangedFunction · 0.70

Tested by

no test coverage detected