()
| 416 | |
| 417 | @action |
| 418 | private dispose() { |
| 419 | const items = untracked(() => this._items); |
| 420 | if (items) { |
| 421 | items.forEach((prop) => prop.purge()); |
| 422 | } |
| 423 | this._items = null; |
| 424 | if (this._type !== 'slot' && this._slotNode) { |
| 425 | this._slotNode.remove(); |
| 426 | this._slotNode = undefined; |
| 427 | } |
| 428 | } |
| 429 | |
| 430 | @action |
| 431 | setAsSlot(data: IPublicTypeJSSlot) { |