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

Method handleSelectView

solidui-web/src/utils/ModelManager.ts:54–60  ·  view source on GitHub ↗
(data: OnSelectViewEventData)

Source from the content-addressed store, hash-verified

52 }
53
54 private handleSelectView(data: OnSelectViewEventData) {
55 const viewId = data.id;
56 const view = this.viewMap.get(viewId);
57 if (!isNil(view)) {
58 this.currentView = view;
59 }
60 }
61
62 public attach(model: SolidModelDataType): void {
63 this.model = model;

Callers

nothing calls this directly

Calls 1

getMethod · 0.45

Tested by

no test coverage detected