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

Method addView

solidui-web/src/utils/ModelManager.ts:186–193  ·  view source on GitHub ↗
(view: SolidViewDataType)

Source from the content-addressed store, hash-verified

184 }
185
186 public addView(view: SolidViewDataType): void {
187 if (isNil(this.currentPage)) {
188 return;
189 }
190 this.currentPage.views.push(view);
191 this.viewMap.set(view.id, view);
192 this.views.push(view);
193 }
194
195 public addViews(views: SolidViewDataType[]): void {
196 if (isNil(this.currentPage)) {

Callers 1

SolidEditorClass · 0.80

Calls 1

setMethod · 0.80

Tested by

no test coverage detected