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

Method setProps

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

Source from the content-addressed store, hash-verified

8400 };
8401 }
8402 setProps(props) {
8403 // this._updateViewState must be bound to `this`
8404 // but we don't have access to the current instance before calling super().
8405 if ("onViewStateChange" in props && this._updateViewState) {
8406 // This is called at least once at _onRendererInitialized
8407 this.onViewStateChange = props.onViewStateChange;
8408 props.onViewStateChange = this._updateViewState;
8409 }
8410 super.setProps(props);
8411 }
8412 }
8413 const instance = new DeckGLInternal(props1);
8414 return instance;

Callers 9

setDeckPropsMethod · 0.45
homeCameraMethod · 0.45
getWorkerFarmFunction · 0.45
sanddance-app.jsFile · 0.45
AnimationLoop1Function · 0.45
TypedArrayManager1Function · 0.45
Deck1Function · 0.45
ViewManager1Function · 0.45
Controller1Function · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected