MCPcopy Create free account
hub / github.com/docker/getting-started / handleChange

Function handleChange

app/src/static/js/react-bootstrap.js:342–359  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

340 var handlerName = controlledValues[propName];
341
342 var handleChange = function handleChange(value) {
343 if (_this.props[handlerName]) {
344 var _this$props;
345
346 _this._notifying = true;
347
348 for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
349 args[_key2 - 1] = arguments[_key2];
350 }
351
352 (_this$props = _this.props)[handlerName].apply(_this$props, [value].concat(args));
353
354 _this._notifying = false;
355 }
356
357 _this._values[propName] = value;
358 if (!_this.unmounted) _this.forceUpdate();
359 };
360
361 _this.handlers[handlerName] = handleChange;
362 });

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…