MCPcopy Index your code
hub / github.com/microsoft/SandDance / deActivate

Method deActivate

packages/sanddance/src/viewer.ts:790–801  ·  view source on GitHub ↗

* Deactivate item.

()

Source from the content-addressed store, hash-verified

788 * Deactivate item.
789 */
790 deActivate() {
791 return new Promise<void>((resolve, reject) => {
792 if (this._dataScope && this._dataScope.active) {
793 this._animator.deactivate().then(() => {
794 this._details.render();
795 resolve();
796 });
797 } else {
798 resolve();
799 }
800 });
801 }
802
803 /**
804 * Gets the current insight with signal values.

Callers 1

silentActivationMethod · 0.45

Calls 3

resolveFunction · 0.50
deactivateMethod · 0.45
renderMethod · 0.45

Tested by

no test coverage detected