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

Method reset

docs/app/js/sanddance-app.js:10032–10042  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10030 });
10031 }
10032 reset() {
10033 return new Promise((resolve, reject)=>{
10034 this.dataScope.deselect();
10035 this.dataScope.setFilteredData(null);
10036 this.props.onAnimateDataChange(DataLayoutChange.reset, "before reset", "reset").then(()=>{
10037 this.dataScope.collapse(false);
10038 this.props.onDataChanged(DataLayoutChange.reset);
10039 resolve();
10040 }).catch(reject);
10041 });
10042 }
10043 activate(datum) {
10044 return new Promise((resolve, reject)=>{
10045 this.dataScope.activate(datum);

Callers

nothing calls this directly

Calls 6

resolveFunction · 0.70
deselectMethod · 0.45
setFilteredDataMethod · 0.45
onAnimateDataChangeMethod · 0.45
collapseMethod · 0.45
onDataChangedMethod · 0.45

Tested by

no test coverage detected