MCPcopy Create free account
hub / github.com/microsoft/SandDance / OverlayBase1

Function OverlayBase1

docs/app/js/sanddance-app.js:43501–43507  ·  view source on GitHub ↗
(props)

Source from the content-addressed store, hash-verified

43499var OverlayBase = /** @class */ function(_super) {
43500 (0, _tslib.__extends)(OverlayBase1, _super);
43501 function OverlayBase1(props) {
43502 var _this = _super.call(this, props) || this;
43503 (0, _utilities.initializeComponentRef)(_this);
43504 var _a = _this.props.allowTouchBodyScroll, allowTouchBodyScroll = _a === void 0 ? false : _a;
43505 _this._allowTouchBodyScroll = allowTouchBodyScroll;
43506 return _this;
43507 }
43508 OverlayBase1.prototype.componentDidMount = function() {
43509 !this._allowTouchBodyScroll && (0, _utilities.disableBodyScroll)();
43510 };

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected