()
| 66 | readonly ownedBy = input.required<TreeItem<V>>(); |
| 67 | |
| 68 | constructor() { |
| 69 | effect(onCleanup => { |
| 70 | const owner = this.ownedBy(); |
| 71 | untracked(() => { |
| 72 | this._deferredContent.deferredContentAware.set(owner); |
| 73 | owner._register(this); |
| 74 | }); |
| 75 | onCleanup(() => owner._unregister()); |
| 76 | }); |
| 77 | } |
| 78 | |
| 79 | _register(child: TreeItem<V>) { |
| 80 | this._unorderedItems().add(child); |
nothing calls this directly
no test coverage detected