MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / __clear

Method __clear

solidui-web/src/utils/ModelManager.ts:68–77  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

66 }
67
68 private __clear() {
69 this.currentPage = undefined;
70 this.currentView = undefined;
71 this.sceneMap.clear();
72 this.pageMap.clear();
73 this.viewMap.clear();
74 this.scenes = [];
75 this.pages = [];
76 this.views = [];
77 }
78
79 private __config(model: SolidModelDataType) {
80 if (isNil(model)) {

Callers 1

attachMethod · 0.95

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected