MCPcopy
hub / github.com/visgl/deck.gl / finalize

Method finalize

modules/core/src/lib/widget-manager.ts:67–76  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

65 }
66
67 finalize() {
68 for (const widget of this.getWidgets()) {
69 this._removeWidget(widget);
70 }
71 this.defaultWidgets.length = 0;
72 this.resolvedWidgets.length = 0;
73 for (const id in this.containers) {
74 this.containers[id].remove();
75 }
76 }
77
78 /** Imperative API. Widgets added this way are not affected by the declarative prop. */
79 addDefault(widget: Widget) {

Callers

nothing calls this directly

Calls 3

getWidgetsMethod · 0.95
_removeWidgetMethod · 0.95
removeMethod · 0.65

Tested by

no test coverage detected