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

Method activate

packages/sanddance/src/viewer.ts:778–785  ·  view source on GitHub ↗

* Set one data row to the active state.

(datum: object)

Source from the content-addressed store, hash-verified

776 * Set one data row to the active state.
777 */
778 activate(datum: object) {
779 return new Promise<void>((resolve, reject) => {
780 this._animator.activate(datum).then(() => {
781 this._details.render();
782 resolve();
783 });
784 });
785 }
786
787 /**
788 * Deactivate item.

Callers 3

onCubeClickMethod · 0.95
handleActionMethod · 0.45
silentActivationMethod · 0.45

Calls 2

resolveFunction · 0.50
renderMethod · 0.45

Tested by

no test coverage detected