()
| 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) { |
nothing calls this directly
no test coverage detected