Every line of 'react onload' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
87 value: function componentDidMount() { 88 if ((0, _latex2jsMathjax.getMathJax)()) { 89 this.onLoad(); 90 } 91 (0, _latex2jsMathjax.loadMathJax)(this.onLoad); 92 }
25 protected onLoad() { 26 this.__initReceiver(); 27 }
76 value: function onLoad() { 77 return (0, _get3.default)(DefaultBlock.prototype.__proto__ || (0, _getPrototypeOf2.default)(DefaultBlock.prototype), 'onLoad', this).call(this); 78 }
247 onLoad: function onLoad() { 248 // 切换到相应索引 249 this.tabActive = this.$root.$mp.query.active || 0; 250 }
107 onLoad: function onLoad() { 108 this.url = this.$root.$mp.query.url; 109 }
123 onLoad: function onLoad() { 124 this.msg = this.$root.$mp.query.msg; 125 this.type = this.$root.$mp.query.type || "success"; 126 }
310 return React.createElement(Root_1.Root, null, React.createElement(WebcamVideoWithOverlay_1.WebcamVideoWithOverlay, { onLoaded: function onLoaded(_ref) { 311 var input = _ref.video, 312 overlay = _ref.overlay; 313 return _this2.setState({ input: input, overlay: overlay }); 314 }, maxVideoWidth: 800 }), React.createElement(FaceAndLandmarkDetection_1.FaceAndLandmarkDetection, _extends({}, this.state, { initialFaceDetector: const_1.FACE_DETECTORS[0], initialTinyFaceDetectorOptions: new face_api_js_1.TinyFaceDetectorOptions({ inputSize: 128 }) }), function (detectionOptions, options) {
344 _onLoad: function _onLoad() { 345 return this._launchPopup(); 346 }
16 onLoad: function onLoad() { 17 this._super(); 18 this.nodeDict["quit"].on("click", this.leaveRoom, this); 19 20 mvs.response.joinRoomResponse = this.joinRoomResponse.bind(this); 21 mvs.response.joinRoomNotify = this.joinRoomNotify.bind(this); 22 mvs.response.leaveRoomResponse = this.leaveRoomResponse.bind(this); 23 mvs.response.leaveRoomNotify = this.leaveRoomNotify.bind(this); 24 },
36 document.addEventListener('DOMContentLoaded', function onLoad() { 37 Client.boot(options); 38 });