MCPcopy
hub / github.com/microsoft/SandDance / deActivate

Method deActivate

docs/app/js/sanddance-app.js:9940–9948  ·  view source on GitHub ↗

* Deactivate item.

()

Source from the content-addressed store, hash-verified

9938 /**
9939 * Deactivate item.
9940 */ deActivate() {
9941 return new Promise((resolve, reject)=>{
9942 if (this._dataScope && this._dataScope.active) this._animator.deactivate().then(()=>{
9943 this._details.render();
9944 resolve();
9945 });
9946 else resolve();
9947 });
9948 }
9949 /**
9950 * Gets the current insight with signal values.
9951 */ getInsight() {

Callers 1

silentActivationMethod · 0.45

Calls 3

resolveFunction · 0.70
deactivateMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected